Search found 2277 matches

by VilleK
Fri Jun 27, 2008 4:23 pm
Forum: Feature requests
Topic: Sound
Replies: 24
Views: 28498

The funny thing is that a early version of ZGE (before first release) actually had a pattern editor for music. Although it was very primitive and quite difficult to use. I figured that no one wants to compose music this way so I threw it out when I started the midi-import function instead. Of course...
by VilleK
Fri Jun 27, 2008 1:26 pm
Forum: ZGE Source Code
Topic: Font
Replies: 12
Views: 27501

Sounds like a good idea.
How is the Stretch property used in the code?
by VilleK
Fri Jun 27, 2008 10:05 am
Forum: General discussion
Topic: Procedural Content Generation Wiki
Replies: 0
Views: 5178

Procedural Content Generation Wiki

This seems to be a good site with plenty of information:

http://pcg.wikidot.com/

JPHs Artificial Nature game is mentioned.
by VilleK
Fri Jun 27, 2008 9:57 am
Forum: Feature requests
Topic: Sound
Replies: 24
Views: 28498

I like the sounds jph! Right-click on a envelope to set value seems to be a quick solution, I will try that. About midi-presets: I'm not sure which way to go with music support in ZGE. The midi-instrument file is there for anyone to play around with (MidiInstruments.xml, rename to zgeproj to open in...
by VilleK
Fri Jun 27, 2008 9:49 am
Forum: ZGE Source Code
Topic: Ratio
Replies: 16
Views: 39966

Progress update: I've made the changes and it seems to work alright, but I need to clean up the code some more before releasing.
by VilleK
Thu Jun 26, 2008 12:34 pm
Forum: ZGE Source Code
Topic: Ratio
Replies: 16
Views: 39966

Suggestion: Two new properties on application: ViewportRatio dropdown (Use full window, Custom, 4:3, 16:9) "Use full window" is the default and gives the current zge 1.9.0 behavior of rendering to the full window. CustomViewportRatio numeric value, used when ViewportRatio is "Custom&q...
by VilleK
Thu Jun 26, 2008 8:31 am
Forum: Feature requests
Topic: RenderTransformGoup - MIRROR X,Y,Z ?
Replies: 19
Views: 20858

I googled and found an article about this: http://www.blender.org/development/release-logs/blender-234/opengl-normals/ The technique for telling opengl that a material is inside-out is switching the triangle direction betweeen counter-clockwise and clockwise. This could be added to the rendertransfo...
by VilleK
Thu Jun 26, 2008 8:03 am
Forum: Feature requests
Topic: RenderTransformGoup - MIRROR X,Y,Z ?
Replies: 19
Views: 20858

The problem with the invertnormals-suggestion is that it implies having to loop through and change the normals which is a geometry generation functionality that shouldn't be in the render-components in my opinion. Perhaps if there is a way to tell opengl to invert the normals automatically with a st...
by VilleK
Wed Jun 25, 2008 2:42 pm
Forum: Feature requests
Topic: RenderTransformGoup - MIRROR X,Y,Z ?
Replies: 19
Views: 20858

I've just tried your example. I think using negative scale values can lead to trouble like that you encountered with normals. I tried setting scale back to 1 and then "0.5" on rotate y axis of the transformgroup, and that seems to work. Or does it not become mirrored in the way you want it...
by VilleK
Wed Jun 25, 2008 8:07 am
Forum: ZGE Source Code
Topic: Joystick
Replies: 4
Views: 17123

Yes how much spare time do you have Kjell :) Joystick is interesting. I haven't even researched this before because I do not own a joystick myself. Some concerns are how do you read joystick on windows, do you need to link with DirectInput or something? And please also check the documentation for SD...
by VilleK
Tue Jun 24, 2008 6:57 pm
Forum: Feature requests
Topic: RenderTransformGoup - MIRROR X,Y,Z ?
Replies: 19
Views: 20858

I have to post a screen shot of this because I think it looks so cool. So a mirror checkbox for each axis maybe. Anyone else have a opinion on this?
by VilleK
Mon Jun 23, 2008 7:12 pm
Forum: ZGE Source Code
Topic: Ratio
Replies: 16
Views: 39966

But perhaps ViewportRatio or CameraRatio would be better then just Ratio. And I could insert a if Ratio == 0 then just use the full window / screen resolution.K "ViewportRatio" sounds good. Or is there another term for this? I want to be sure we use the correct terminology and minimize th...
by VilleK
Mon Jun 23, 2008 3:53 pm
Forum: ZGE Source Code
Topic: Ratio
Replies: 16
Views: 39966

That looks pretty manageable! I've only used glViewport with the full screen area before. 1. What is the name and type of the property that the user will set? 2. What is the default value of this property, and what will the user do if he wants the current behavior (use full resolution as render area).
by VilleK
Mon Jun 23, 2008 2:22 pm
Forum: ZGE Source Code
Topic: Ratio
Replies: 16
Views: 39966

So I guess you calculate the render area in application and then pass parameters down to the platform-function. Can you post some code-snippets showing how you've tried to solve it? The screen shot looks nice! Yes it would be cool if the zge-runtime only included the components needed for the curren...
by VilleK
Sun Jun 22, 2008 6:59 pm
Forum: Your projects
Topic: Flowers of Light - a real-time Light Synthesizer
Replies: 11
Views: 12779

Interesting ideas Kjell. I don't think I've really understood the screenratio setting, from your example it sounds like you want to make some kind of "letterboxed" mode when you shrink the render area? But if a user selects a 2:1 resolution from the dialog (or use a future NativeScreenMode...