Re: Simple Program

New Message Reply Date view Thread view Subject view Author view

Gordon Tomlinson (gordon++at++paradigmsim.com)
Fri, 03 Dec 1999 17:45:45 -0600


Hi Mathew

> pfVec3 position(0.0f, 5.0f, 0.0f);
> pfVec3 orientation(0.0f, 0.0f, 0.0f);
> chan -> setView(position, orientation);
>

Assumimg the Teapot has been modeled with its origin
at 0,0,0 then you have positioned your view point in front
of the model it will be behind you ...

try setting your position to 0.0f, -5.0f, 0.0f;

Also remember in Performer that

+X is to your screen right
+Y is direclty into the screen
+Z is screen up

Gordon.

-- 

Regards

Gordon.

Gordon Tomlinson | Multigen - Paradigm Inc Vega Software Engineer | Suite 400, 14900 Landmark Blvd Email: gordon++at++paradigmsim.com | Dallas, Texas 75240, USA Tel: 972 960 2301 | Fax: 972 960 2303 ______________________________________________________________

'Smoke me a kipper skipper, I'll be back for breakfast' ______________________________________________________________

NOTE: All opinions here within this email are solely mine and DO NOT reflect those of MultiGen Paradigm or any other employee.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Dec 03 1999 - 15:45:06 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.