WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-13-2011, 07:35 PM
dcnieho dcnieho is offline
Join Date: Feb 2011
Posts: 59
noob questions: scene lighting, viewpoint updates

Dear Worldviz,

So I've managed to work with the _SECURE_SCL issue I talked about in the other thread, things are working well now - interface development was pretty easy! Overall, I'm very happy with the speed with which I could develop using Vizard (note: this is my first time touching it). Thanks for the great work, it is indeed obvious you guys work with your own product all the time!

Two noob questions:
1) from my openGL code, I am drawing spheres using gluSphere. The colors don't come out right, they seem to be too dim (while the colors of, for instance, a GL_POINT vertex is fine). I have already put viz.MainView.getHeadLight().disable()
in my script, but this does not seem to fix the issue. Is there any other lighting / color processing turned on by default that I should look at?

2) In my code, I'll need to compute the instantaneous velocity (either delta (X,Y,Z) or a velocity vector expressed in spherical coorinates (azimuth,elevation,speed) would be fine) and rotation rate (yaw only for now). Are there some built-in functions for this or should I simply save the previous position and orientation and compute these myself?

Thank you for the pointers!
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lighting for a new Scene jassel41 Vizard 2 11-10-2010 09:14 PM
Copying Scene? Brett Lindberg Vizard 0 08-28-2009 11:56 PM

All times are GMT -7. The time now is 03:30 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC