Kelvin Chung wrote:

> Raj N. Vaidya wrote:
>
>> Hi Kelvin,
>>
>> Thanks much for the response. I went thru' the docs
>> and my tests again, and I am still at sea. I'll try to
>> get a testcase if you don't find any flaw in the logic below.
>>
>> Let's say that at time 1:00 AM I invoke view.setMinimumFrameCycleTime
>> to specify a frame cycle time of 10 minutes. This means
>> that between 1:00 and 1:10 there will be no new frames
>> rendered.
>>
>> Next, at time 1:01, I create a subgraph and make it live.
>> This subgraph will be invisible for reason above.
>>
>
>
> This is correct behavior since the renderer will kick off
> again after 10 mins as View setMinimumFrameCycleTime is not reset
> to defaul.
>


BTW, if this is a new graph with different View than above.
Then this is a bug same as below.


>
>> Finally, at time 1:05, I invoke again the view.setMinimumFrameCycleTime
>> to specify a time period of 0 ms. Well, what I thought would
>> happen at this time was that my subgraph waiting to be rendered
>> all this while will be immediately visible on the canvas.
>> Am I correct in assuming so ? However, what I am observing
>> is that the subgraph is rendered only at time 1:10.
>>
>
>
>   Bug 4732333 - View setMinimumFrameCycleTime() did not response untile
> last cycle complete
>
> is submitted for this.It is because the Java3D MasterControl thread
> is still sleeping to free CPU time for 10 mins. The correct way
> should notify() that thread whenever setMinimumFrameCycleTime
> set by user, so that it can determine whether to render or
> continue sleep for some time.
>
>
>
>> The behavior that I am seeing right now is plausible if:
>> 1. setMinimumFrameCycleTime method locks for a period
>>    equal to the specified time period, and control passes
>>    on to the next statement only then.
>> 2. every subgraph that is made live has a time stamp based
>>    on the current FrameCycleTime, and will be rendered only
>>    after that time period.
>>
>>
>> Let me know where the goof is when convenient,
>>
>
> Thanks for your bug report.
>
> - Kelvin
> -----------------
> Java 3D Team
> Sun Microsystems Inc.
>
> ===========================================================================
> 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".

Reply via email to