[JAVA3D]

2004-04-02 Thread 邱 长伍
   I am developing a 3D program about robot control.But the slow speed and the situation that program's speed have no fixed rules bothered me. My program runs on RTLinux platform, JDK version is 1.4.2. I want to know how to promote the 3D program's speed and make the program have the

Re: [JAVA3D] make a clock

2004-04-02 Thread Chris Ender
Hello Sikander,   To get the right reference point for the rotation you can use a transformation. i suggest to go through the geometry and add an offset value to every point. this is the fastest solution (meant by runtime). well, a hour hand may not be time critical.. in general, for the rot

Re: [JAVA3D] Textures

2004-04-02 Thread Russell East
You're right, my code had effectively not set the texture coordinates. I was using modified versions of the helper classes and hadn't realized that I needed to add something to the flags to get the texture coordinates generated. It all works now.Thanks, -- Russell Florin Herinean wrot

[JAVA3D] make a clock

2004-04-02 Thread sikander hayat
Hi all I have a vertical cylinder at 10 units away from origin(0,0,0). I want to rotate it with respect to the Z axis and pivoted at the top of the cylinder. basically i am making a clock and the cylinder is the hour hand. kindly tell me how to do itif i rotate it,then it rotates with respe

Re: [JAVA3D] how to draw a 3D hollow-semi-cylinder HELP

2004-04-02 Thread Thierry Milard (free)
Your example is a wonderfull example. Your master java3d . Thanks : It helps to undestand geometry and other things. Thierry, Paris    ---Original Message---   From: Discussion list for Java 3D API Date: Friday, April 02, 2004 10:53:05 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] how

[JAVA3D] performance using Bound

2004-04-02 Thread hterrolle
HI, i wondering if the size of the bound cost in J3D. For example: If a i set the bound of my scene to 100 does it cost more in CPU for vertor recalculation that if i set the bound to 50. Thanks === To

Re: [JAVA3D] parameters for optimization

2004-04-02 Thread hterrolle
Sorry i forget to ask you. If i limit the swat size does the machine will use more RAM memorie ? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For gener

Re: [JAVA3D] parameters for optimization

2004-04-02 Thread hterrolle
Thanks a lot. I'll so i will see. By the way do you know werre can i find the documentation for those parameters. Good - Original Message - From: "Nikolai V. Chr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 02, 2004 2:42 PM Subject: Re: [JAVA3D] parameters for optimiza

Re: [JAVA3D] parameters for optimization

2004-04-02 Thread Nikolai V. Chr.
hterrolle wrote: Hi, can i disable the virtuel memorie of java process ? There are alot of parameters to adjust how GC and memory allocation works, but I dont recommend using them unless you really know what you are doing: -XX:+UseParNewGC -XX:+UseParallelGC -Xincgc -XX:+UseConMarkSweepGC -XX:n

Re: [JAVA3D] parameters for optimization

2004-04-02 Thread hterrolle
Hi, can i disable the virtuel memorie of java process ? thanks === 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 PR

Re: [JAVA3D] parameters for optimization

2004-04-02 Thread hterrolle
Hi, Sorry i got already 512 M DDR memory and 533 Mgh bus speed. I do the system.gc() sometimes. Maybe i should force it. Thanks Got what is strane and that when i remove Branch of object and than add some other the memories used increase. Do you know why ? Thanks - Original Message - F

Re: [JAVA3D] parameters for optimization

2004-04-02 Thread Nikolai V. Chr.
hterrolle wrote: hi, I find out that more i load object more it is slow. I like too know parameters that could speed out the java execution. I think that the probleme is comming from memories realocation and swap of course. I will bet that most of that is swap. To solve your problem do one singl

[JAVA3D] parameters for optimization

2004-04-02 Thread hterrolle
hi, I find out that more i load object more it is slow. I like too know parameters that could speed out the java execution. I think that the probleme is comming from memories realocation and swap of course. My java executable use about 350 M of memories and i got a CENTRINO machine which is quite

Re: [JAVA3D] how to draw a 3D hollow-semi-cylinder HELP

2004-04-02 Thread Florin Herinean
:) I coudn't stop myself, so here is a slightly modified scene which has a waving water flowing through the pipe. Of course, the model is very simplistic, no bouncing on the walls (infinite pipe model, laminar flow), water waves follows a strictly sinusoidal curve, no textures (pure geometry). St