The Aurora compiler has just been updated. To get the update redownload from the link provided when purchasing.
Changes/Additions
-------------------------
- Fix parser error with if/else clauses. Noticed by Protected.
- Line numbers are only outputted to the assembler file in debug mode.
- Fix C3DObject::ObjectCollided
- The color of data types is now changeable in the IDE.
- CreateRectangle added to C3DMesh. Creates a textured quad.
- CWindow::GetParentWindow added.
- CWindow::GetParentFrame added.
- CWindow::GetTopParent added.
- C3DSCreen::SetFont added.
- C3DScreen::Begin2D and C3DScreen::End2D added.
- C3DSprite class now available.
See the example program '3dsprites.src' for an example of using the new C3DSprite class. The class isn't complete yet but there is enough there to add 2D elements to your 3D screens. 3D sprites support texture alpha transparency for each pixel.
The demo version has been updated for this release.
This revision marks the end of the Alpha period. The next update will be Beta 1.
Have Fun,
Paul.
Nice update, one thing though, in the sprite demo, the sprites are drawn clipped as if a polygon is missing. See attached.
My System:
P4 3.2Ghz
Nvidia 7800 GS Extreme GFX Card
Abit IC7-G Mobo
Any ideas?
None yet ;). It's a weird bug that I am still trying to track down. Don't know if it's related to the texture itself, which I got from the net, or what.
Happens when you reset the rotation angle back to zero. And only in tight loops. On my system using .0000001 instead of 0 got rid of the problem. Just got tired of looking for it last night.
OK found the bug. Nothing to do with DirectX at all, but with the code generated for returning floating point values from a CDECL function. Will have the fix shortly.
Nice one! :D
Updated installs were just posted. Sorry you have to download again ;)
After downloading when you check the about box the compiler version should show 1.0.0.3081
Thanks, nice to more fun stuff to play with and the new code to study.
CWindow::GetParentWindow added. Great ;D
Source archive updated for this build.
Quote from: Paul Turley on August 07, 2006, 04:15:30 PM
OK found the bug. Nothing to do with DirectX at all, but with the code generated for returning floating point values from a CDECL function. Will have the fix shortly.
After that bug fix the frame rate in the example has doubled too. :D
Yes it solved a bunch of problems. On my laptop I can get like 8000 sprites flying around and still have decent frame rates.
I like the screen resize fix too, now I can see those mini cavemen do their thing :)
We may have talked about this before, but I have small request. In future updates would it be OK to add the date to include and source files? I like to print them out (being old fashioned, I like my eyes to go up and down the page, not the page going up and down before my eyes).
Quote from: peaslee on August 10, 2006, 11:54:51 AM
We may have talked about this before, but I have small
?
??
Small what?
Quote from: Paul Turley on August 10, 2006, 11:56:53 AM
Quote from: peaslee on August 10, 2006, 11:54:51 AM
We may have talked about this before, but I have small
?
??
Small what?
Watch it!ÂÃ, ;)
I hit the wrong button. The post has now been editied.
;D
As for the request.... Sure it's probably a good idea.
*small* (whipes cofee from dripping nostrils)
*coughs*
Sorry I digress, anyway great job on the fix, now only the cavemans feet loop on ths image (as in come through the top of his square) has more to do with the image than code me thinks.
Love the work Paul, keep it up!
Quote from: Paul Turley on August 10, 2006, 12:00:00 PM
;D
As for the request.... Sure it's probably a good idea.
I think so, too, but we haven't started doing it yet. ;)