Search found 140 matches

by diki
Tue Feb 16, 2010 2:45 am
Forum: Extensions
Topic: Building DLL for ZGE
Replies: 12
Views: 28546

hi ville, thanks for the tips! the STDCALL convention turned the crash into a more elegant error: now a window titled "ZZDC Error" containing the function name ("InOut") pops up. adding C-linkage does not change that, i'm afraid. i'm currently using CodeBlocks and the GNU GCC Com...
by diki
Mon Feb 15, 2010 7:38 pm
Forum: Extensions
Topic: Building DLL for ZGE
Replies: 12
Views: 28546

hmmm, after trying several different ways of passing pointers around, i only ever got Assertion Failures or flat out crashes :( but i'm optimistic that the flat out crashes are only a bug in the ZGE implementation :) i attached a simple DLL with a function like the following: int InOut( int i ) { re...
by diki
Sun Feb 14, 2010 7:05 pm
Forum: Extensions
Topic: Building DLL for ZGE
Replies: 12
Views: 28546

Building DLL for ZGE

To help people looking for the info, here's a paste: (the following applies to a CodeBlocks + MinGW setup) 1) ZGE requires "stdcall" as calling convention. It's also common to specify C-linkage. Declare functions like: void DLL_EXPORT STDCALL FunctionName( int argument ) // or void DLL_EX...
by diki
Sun Feb 14, 2010 5:20 pm
Forum: Feature requests
Topic: Z-Buffer Clear on Renderpass?
Replies: 2
Views: 4560

hi kjell, those tips are helpful - as always! :)
by diki
Sun Feb 14, 2010 12:15 am
Forum: Feature requests
Topic: Z-Buffer Clear on Renderpass?
Replies: 2
Views: 4560

Z-Buffer Clear on Renderpass?

hi, i noticed that the zbuffer is not cleared after a renderpass, independent of the used ClearScreenMode. could we have a setting for that? i'm trying to render a scene with large differences in size (far away planets and close small things on the surface of one planet), and i tried to achieve this...
by diki
Sat Feb 13, 2010 10:40 pm
Forum: Releases
Topic: Beta release 1.9.9b
Replies: 99
Views: 187086

definitely physics :)
i'm currently looking into box2d for starters. taking baby steps, though; got a blank dll to compile in codeblocks & talk to zge today. looks like building dlls is still in range of my abilities :)

edit: f* yes, box2d dll builds & gets invoked just fine :D
by diki
Sat Feb 13, 2010 12:17 am
Forum: General discussion
Topic: Trying to get model to follow mouse
Replies: 18
Views: 18846

physics are not yet a part of zge, so i'm afraid you'll have to script your own.
by diki
Fri Feb 12, 2010 11:58 pm
Forum: General discussion
Topic: Trying to get model to follow mouse
Replies: 18
Views: 18846

The co-ords are x -1 to +1, Y -1 to +1 take care that this depends on the Camera Settings. a camera with FOV 45 situated at position [0, 0, 1] and a square viewport (window) will look at the area between -1/+1 for x and y. when you put it further away on the z-axis or enlarge the FOV, the visible a...
by diki
Fri Feb 12, 2010 8:23 pm
Forum: Releases
Topic: Beta release 1.9.9b
Replies: 99
Views: 187086

this is worth enabling smilies!

:D

very neat implementation! this should greatly help avoiding featuritis in the zge core components. maybe we can collect a handful of useful free / open source dll's that can be elegantly plugged in.
by diki
Wed Feb 10, 2010 12:38 pm
Forum: Feature requests
Topic: Camera lookat
Replies: 6
Views: 7806

most definitely :)
by diki
Wed Feb 10, 2010 12:36 pm
Forum: Releases
Topic: Beta release 1.9.9b
Replies: 99
Views: 187086

do i understand correctly that this basically wraps the functionality of any dll into zge?
because i approve so much of this i could burst! :D
by diki
Sun Feb 07, 2010 8:26 pm
Forum: Your projects
Topic: Glassium
Replies: 1
Views: 5335

neat idea! no-button qix sounds like a challenge in interface design, but this looks rather promising! laying down rectangles & trapping enemies has a nice feel to it already, even with the slighly wonky controls. i have to admit that i'm a bit envious of that idea :)
by diki
Sun Feb 07, 2010 8:15 pm
Forum: Your projects
Topic: Omicron - shooter
Replies: 2
Views: 5711

hi,
although this feels very raw, i think it has some potential. right now i like the slightly angled scroll, it's got that guitar-hero tunnel vision going on ;) the flat, rolling spaceship design has also got something to it. definitely needs more variety, though.
by diki
Fri Feb 05, 2010 10:11 pm
Forum: Your projects
Topic: Moires for Metatron - screensaver
Replies: 3
Views: 6188

nice! i really like the depth this creates when multiple layers zoom slowly; like a starfield with more volume. i also enjoy the suble colors shifts inside the circles when they are larger / blurry, reminds me of looking up into the sun through the leafs of a tree - very beautiful! and there's a goo...
by diki
Wed Feb 03, 2010 10:47 pm
Forum: Tips'n'Tricks
Topic: Ray / Box Intersection
Replies: 13
Views: 34606

thank you! :)

kjell: those are really good suggestions to speed things up & make it more usable in general. i'll see what i can do :)