Hi Doug,

I'm attaching the source code where I'm creating 1000 sphere and it takes
around 7 secs to render it. If I increase this number to 15000 it takes 100+
secs, however in both the cases initial number of spheres visible on the
screen are same.

Regards,
Nitin

-----Original Message-----
From: Doug Twilleager [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 12:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] FW: A basic doubt


Java 3D does automatic view frustum culling, and does not send geometry
to the graphics card if they are culled.  It sounds like you are
hitting a strange case.  Do you have an example that you can post.

Doug Twilleager
Java 3D Team
Sun Microsystems

>Subject: [JAVA3D] FW: A basic doubt
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>Delivered-to: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 28 Mar 2002 10:08:28.0359 (UTC)
FILETIME=[81987D70:01C1D640]
>
>> Hi guys,
>>
>> I have a basic doubt!
>>
>> I'm using several TransfprmGroups in my view which are using a Linked
>> shape3D object. When I zoom in or rotate the view, there are many objects
>> which go out of screen. My question is, do the objects which go out of
>> screen are also given to the graphics layer to render?
>> -if Yes, then should it not give only the objects which are "seen".
>> -if No, then the time it takes to render should depend on the number of
>> objects which are seen not the total number of objects. I've created the
>> transform groups such that it displays only few of the objects initially,
>> but the rendering time increases drastically when I increase the total
>> number of objects(most of which are out of the screen initially). In this
>> case do I need to write my own algorithm to check each object for its
>> visibility, depending on which I'll include that particular tranform
group
>> in the scene graph or not.
>>
>>
>> Regards,
>>
>> Nitin Jain
>> ingenovis,
>> A division of i-Labs Ltd.
>> Hyderabad, India
>> Phone : 91-40-3352900/2 Ext.2016
>> Fax     : 91-40-3351522
>> Email  : [EMAIL PROTECTED]
>> http://www.ingenovis.com
>>
>>
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Attachment: TestApp.java
Description: Binary data

Reply via email to