On 05/27/2012 02:40 AM, tommyl...@eircom.net wrote:
> Ok,
>
> first - you've got perspective range as
>
> Glu.Perspective(45, sWidth / sHeight, -1, 1)<- should be positve and bigger 
> ie. Glu.Perspective(45, sWidth / sHeight, 0.1, 500) or even more if the world 
> is big.
>
> second - you're too low over the ground, thus  the world is kind of 
> "flipped", increase eyez in glu.LookAt().
>
> See it it works, then we can sort out the rest.
>
> Tomek

Yeah, I am a bit confused about the "near" and "far" clipping range 
values. My maximum world dimensions are 65536x65536 feet with the 
elevation in inches represented by a short, or -2730 to 2730 feet 
(32768/12). I'm guessing the near value should be around 2730 and the 
far value should be around -2730 then? Things are starting to get pretty 
exciting, as all my data was already "3D", just my rendering looked like 
an old JRPG.

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sa...@eightvirtues.com
phone: (770) 853-6271


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to