Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Django

Pages: [1]
1
Technical forum / Access to tangent/bitangent data in shader code
« on: October 07, 2010, 04:17:22 PM »
Hi there,

I'm trying to implement a normal mapping shader for use in WME, but it seems that the vertex data coming from the engine doesn't contain precalculated values for the tangent and bitangent vectors. When I'm using the vertex shader semantics like this -

Code: WME Script
  1. // some code
  2.  
  3. struct VS_INPUT
  4. {
  5.         float4 position  : POSITION;
  6.         float2 texCoord  : TEXCOORD0;
  7.         float4 normal    : NORMAL;
  8.         float4 tangent   : TANGENT;
  9.         float4 bitangent : BINORMAL;
  10. };
  11.  
  12. // some code
  13. // ...
  14.  

- only "normal" contains usable values (if the 3D model provides them, of course).
Am I doing something wrong?
(I hope the other vectors aren't also expected to be baked in the model or something like that.)

Thanks.

2
Technical forum / WME connecting to Microsoft at startup?
« on: March 26, 2006, 03:35:33 PM »
Hi there,

I am (obviously) new to this forum, just started wintermuting. I've been using AGAST for a while, but there were some reasons for me to change the engine, so I gave Wintermute a try and started porting parts of my game to it. So far I am quite content with this capable engine, there is just one thing that gives me a headache: Everytime I run the game from ProjectMan, it tries to connect to crl.microsoft.com. If I let my Firewall block the connection, the game's execution is delayed for a while, which can get quite annoying at times. I could live with that, but then I realised that even the final compiled project behaves this way. So my questions are:

  • What is the purpose of this (something about certificates, but what exactly)?
  • Is it really necessary, or is there a possibility that at least the final build doesn't behave like this? IMO it looks quite unappealing if my game (or any program as well) tries to contact Big Brother at startup.

Thanks in advance,
Django

p.s. I'm using Win2K, just tried it on XP a few minutes ago, where the connection request doesn't occur.  ???


Pages: [1]

Page created in 0.057 seconds with 19 queries.