WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: peterparker
Forum: Vizard 09-17-2018, 06:41 AM
Replies: 12
Views: 8,237
Posted By peterparker
Jeff, any idea why this does not work for me?

Jeff, any idea why this does not work for me?
Forum: Vizard 09-14-2018, 05:04 AM
Replies: 12
Views: 9,338
Posted By peterparker
Thanks, viz.tick would suffice for this purpose. ...

Thanks, viz.tick would suffice for this purpose.

If I was under time pressure I could have just coded this from scratch: change the light intensity by 1% and wait for 10 ms. Rinse, repeat. I would...
Forum: Vizard 09-12-2018, 01:21 AM
Replies: 12
Views: 9,338
Posted By peterparker
Thanks for the info regrading actions, that would...

Thanks for the info regrading actions, that would be the second way I outlined above. Good enough for now. As I pointed out earlier, hard coding would not be preferable. I do think, though, that the...
Forum: Vizard 09-11-2018, 07:33 AM
Replies: 12
Views: 9,338
Posted By peterparker
I apologize again, the example was badly chosen....

I apologize again, the example was badly chosen. There is the 'vizact.fadeTo()' method to perform this color transition.

Actually, for me it is changing the intensity of a light source. Knowing...
Forum: Vizard 09-11-2018, 06:51 AM
Replies: 12
Views: 9,338
Posted By peterparker
Sorry for necroing this old thread. I did not...

Sorry for necroing this old thread. I did not want to create a new one on the same topic.

Turns out, I need this, too. I have a program that runs on 2D Monitors (one experimental condition) and...
Forum: Vizard 09-11-2018, 01:47 AM
Replies: 12
Views: 8,237
Posted By peterparker
Ok, so I do this for my ground model and for each...

Ok, so I do this for my ground model and for each cylinder slice:

cyl.enable(viz.SAMPLE_ALPHA_TO_COVERAGE)
cyl.disable(viz.BLEND)

Do I do this before or after setting the alpha value? I have...
Forum: Vizard 09-06-2018, 04:42 AM
Replies: 12
Views: 8,237
Posted By peterparker
EDIT: I can even use 's' first (see above) and...

EDIT: I can even use 's' first (see above) and _then_ create the spot. Same result.
Forum: Vizard 09-06-2018, 04:23 AM
Replies: 12
Views: 8,237
Posted By peterparker
import viz, vizshape, vizact import random ...

import viz, vizshape, vizact
import random


# run script
viz.go()
viz.setMultiSample(4)


# create world
Forum: Vizard 09-05-2018, 08:23 AM
Replies: 12
Views: 8,237
Posted By peterparker
Turns out I was wrong. Around the ground rotation...

Turns out I was wrong. Around the ground rotation event there is a fade-out/fade-in sequence, which manipulates the alpha value of the ground model. This fading process actually is the culprit.
...
Forum: Vizard 09-05-2018, 05:53 AM
Replies: 12
Views: 8,237
Posted By peterparker
Maybe some visuals to illustrate what I mean. the...

Maybe some visuals to illustrate what I mean. the left side shows transparency working. If I rotate the view only a little bit further, it does not work anymore. Basically the question is: do I look...
Forum: Vizard 09-04-2018, 04:45 AM
Replies: 12
Views: 8,237
Posted By peterparker
Jeff, thank you for your reply and the advice. ...

Jeff, thank you for your reply and the advice.

In the meantime I have created my own slice-based cylinder (100 slices, simply looped code with increasing height offset) with a decreasing alpha....
Forum: Vizard 08-30-2018, 08:00 AM
Replies: 12
Views: 8,237
Posted By peterparker
Transparency gradient for cylinder

I would like to create simple cylinder with a transparency gradient that lets the object 'fade out' in y-direction.

A Vizard cylinder consists of a configurable number of slices, iirc. Is there...
Showing results 1 to 12 of 12

 
Forum Jump

All times are GMT -7. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC