Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] texture coordinates


Chronological Thread 
  • From: David E DeMarle < >
  • To:
  • Subject: [Manta] texture coordinates
  • Date: Tue, 9 Mar 2010 17:32:42 -0500

Is there a convenient way to control the texture coordinates returned
for intersections with spheres and cylinders?

Specifically what I want is to have one shared texture map for a group
of objects, the texture map holds the color lookup table, and have all
ray intersections on any particular sphere return the same (1D)
texture coordinate into that table.

I am thinking I have to subclass and create my own sphere and cylinder
primitives, or possibly create a constant TexCoordMapper class to do
it now.

thanks,

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



Archive powered by MHonArc 2.6.16.

Top of page