Search found 789 matches

by Rado1
Sun Apr 03, 2011 12:13 am
Forum: Your projects
Topic: BallZ
Replies: 52
Views: 105617

Thank you Kjell for good news. I am pleased to see it. Also Crystal Cube has been selected to be shown...interesting...

Rado1
by Rado1
Wed Jan 05, 2011 3:34 pm
Forum: Bug reports
Topic: Problem with vertex colors (Beta release 2.0.0b, 2010-11-06)
Replies: 3
Views: 5775

Hi Ville,

you are right, Wings3D does not export vertex colors to 3ds; I simply used wrong files. 3ds import works fine in ZGE.
by Rado1
Wed Jan 05, 2011 1:30 pm
Forum: Bug reports
Topic: Problem with vertex colors (Beta release 2.0.0b, 2010-11-06)
Replies: 3
Views: 5775

Problem with vertex colors (Beta release 2.0.0b, 2010-11-06)

I had problems to set vertex colors in MeshExpression, this.C.R = 1; throws the validation error "Could not determine type: Value". This error is independent on setting the VertexColors flag. See e.g. mesh expressions in this example from panurge. Another observation is that imported 3ds m...
by Rado1
Wed Sep 22, 2010 4:26 pm
Forum: General discussion
Topic: Scripting improvements in ZGE 2.0 beta
Replies: 4
Views: 12554

Great! Great! Great! Let's do some testing... and also refactoring the current ZGE code :-)
by Rado1
Mon Aug 02, 2010 12:53 pm
Forum: Feature requests
Topic: Inheritance
Replies: 21
Views: 20931

Ville: The CallComponent works well, except of the CurrentModel issue. Great! y offs et: Nice fix of this particular case, but will not work in cases when components are called from different models. Therefore, I would suggest to fix CurrentModel to behave as a function being aware of its calling co...
by Rado1
Fri Jul 30, 2010 2:48 pm
Forum: Feature requests
Topic: Inheritance
Replies: 21
Views: 20931

Agreed.
by Rado1
Fri Jul 30, 2010 12:36 pm
Forum: Feature requests
Topic: Inheritance
Replies: 21
Views: 20931

Hi Kjell, you are absolutely right! These two mechanisms are different and just address the problem of sharing code. I'm fine also with CallComponent. (The subrutine analogy is not very precise - subrutines are explicit constructs of programming languages and have parameters. But this is not importa...
by Rado1
Fri Jul 30, 2010 11:36 am
Forum: Feature requests
Topic: Inheritance
Replies: 21
Views: 20931

Thing is, ZGE already has inheritance ( ModelState ), it's just limited to one level right now. If a ModelState would have a States node as well, there wouldn't be a problem .. Hmmm... I never thought of ModelState as the mechanism of inheritance... but you are right, it has some features of OO inh...
by Rado1
Fri Jul 30, 2010 9:16 am
Forum: Feature requests
Topic: Complex user-defined types
Replies: 4
Views: 6018

The most convenient way to access clones right now is by writing all properties you need to a 2D Array. Give each clone a unique identifier OnSpawn and use that as index. That's exactly the "technique" I'm using now, however it makes the code cumbersome and static size of arrays is also q...
by Rado1
Thu Jul 29, 2010 9:18 pm
Forum: Feature requests
Topic: Complex user-defined types
Replies: 4
Views: 6018

Complex user-defined types

Would be nice to have the type representing models and model instances (clones of models). For instance, to have a variable keeping a reference to model instance or an array of model instance references. Of course, it should be possible to access values of model instances from expression language (Z...
by Rado1
Thu Jul 29, 2010 8:39 pm
Forum: Feature requests
Topic: Inheritance
Replies: 21
Views: 20931

Inheritance is very handy mechanism in OO languages, but it can bring conceptual complications and probably would make the code more complicated in ZGE. Some questions: what are the inherited features (properties and/or whole tree sections?), how to extend and override inherited features, is it poss...
by Rado1
Sat Jul 17, 2010 1:50 pm
Forum: Tips'n'Tricks
Topic: Psycho effect
Replies: 5
Views: 17696

Yes you are right, updating 80.000 triangles every frame is not very cheap of course. I stupidly used it just for zooming the picture out, just to make the effect more "attractive". The lava effect by itself has almost no CPU footprint; see the attached version. Is there any way how to ach...
by Rado1
Thu Jul 15, 2010 5:56 pm
Forum: Tips'n'Tricks
Topic: Psycho effect
Replies: 5
Views: 17696

Psycho effect

A simple "psychedelic" lava/plasma-like effect. Can also be used as a screensaver.

P.S. I tried to find the simplest way how to achieve the desired effect without time-consuming recalculation of a large bitmap; I think usage of constant-size RenderNet is not a bad idea...
by Rado1
Wed Jul 14, 2010 8:55 pm
Forum: Your projects
Topic: BallZ
Replies: 52
Views: 105617

Update of BallZ is here. The clock is slowly moving and changing its color. Also a new shape was added. Copyright was moved to the config file.
by Rado1
Mon Jun 28, 2010 11:27 am
Forum: Your projects
Topic: BallZ
Replies: 52
Views: 105617

Thank you all for encouraging feedback. I updated the code according to your comments. Based on additional comments of my friends, I added clock, new fractal shape, and also the possibility to configure execution. If you put the Ballz.cfg file in the same directory as executable, you can configure s...