Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Community Reputation

0 Neutral

About alu3n

  • Rank

Personal Information

  • Name
    Vojtěch Pröschl
  • Location
    Czech Republic
  1. Hello, I am computing intersections using `GU_intersect` class. It has an interface that implies that it should be computing interpolated normal. I've got my scene setup with both point and vertex normals set. However, no matter which part of the geometry the ray hits, I always get primitive normal (which isn't even set). I am accessing the normal using `GU_RayInfo::mNml`. I've even tried evaluating normals of the primitive using UVs, but the results are the same regardless UV values.`rayInfo.myPrim->evaluateNormalVector(normalOut,u,v)` How can I get interpolated normal without having to compute it manually?