Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] some questions


Chronological Thread 
  • From: harsha sri-narayana <h.sri-narayana@cs.ucl.ac.uk>
  • To: manta@sci.utah.edu
  • Subject: [Manta] some questions
  • Date: Tue, 29 Jan 2008 14:18:16 +0000

Q1) I have an ObjGroup object, (a cube :D). Is there a way of finding the normals for each vertex? Ideally for each face, to account for shared verts at corners.

These are my print outs for a ObjGroup cube.
vertices.size()=8
vertex_indices.size()=36
vertexNormals.size()=0
normal_indices.size()=0

Q2) Should the last two == 0 ?


Q3) Also I've loaded a HDR image into an EnvMapBackground object. Is there a way of looking up a radiance value from a vector? Or do I need to go through Texture<Color>* from within EnvMapBackground?





Archive powered by MHonArc 2.6.16.

Top of page