10-01-2008 05:15 AM
Turning off the light helped
biut now there is an other strange behavior (see screenshot) 4 cylinders converging in one point the ones further away are rendered correctly but the ones closer to us look strange
WHY????
is there more documentation than what can be found in the Labview Help???
kindest regards
MArtin
10-01-2008 05:16 AM
10-01-2008 08:08 AM - edited 10-01-2008 08:11 AM
I assume you mean that they aren't drawn all the way to the origin. I have a couple of guesses, but could you post some code so I can test them.
Also, about the documentation, what is there is mostly an API description. We probably assume too much graphics programming experience here, but at the same time, I suppose it is difficult to predict what problems people will run into. That's the great part of these forums -- we can see where people have difficultly and either correct the product or expand documentation so that it is easier to use.
Again, I will be filing a documentation CAR about blending, but I am not sure I know what the difficulty is here unless I see some code.
10-01-2008 09:52 AM
Now the code
(what is a CAR)
10-01-2008 10:03 AM
10-01-2008 10:19 AM
That would be great (both things)
and verry much appriciated
Martin
10-01-2008 06:40 PM
Now the almost completed Code
in the next step the box schuld be a Height field
thx in advance
Martin
10-01-2008 06:41 PM
So sorry I forgot the code
here it is
10-02-2008 04:58 PM
I had a look see and I don't know exactly what is happening yet, but I have found a workaround. I don't see any flicker when I use this method.
Instead of writing the value of the 3d picture over and over, try putting a method in the loop called "Redraw". This is a method on the 3d picture control itself which will force it to update.
So change your app to write the value of the 3d picture control once, and then use Redraw in the loop after you have udpated the children objects. You can enforce this by using a flat sequence structure or any other means you see fit.
You should also consider an event based application instead of polling like you are, but that is a little off-topic I suppose.