Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 11:37 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Request Library
PostPosted: Thu Oct 21, 2010 5:39 am 
Offline

Joined: Sat Nov 22, 2008 6:33 am
Posts: 68
Can I ask for shadow library on a single dll?
Here is the function I propose

GetShadowMap(obj *trifile)
DrawShadow(obj *trifile)


Top
 Profile  
 
 Post subject: Re: Request Library
PostPosted: Thu Oct 21, 2010 3:41 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

Shadow are already implemented in raydium see raydium_shadow_enable();

Or do you need an per object shadow ?

Please try to explain ...

Why a single dll?

have a nice day.
Ouille


Top
 Profile  
 
 Post subject: Re: Request Library
PostPosted: Tue Oct 26, 2010 4:08 pm 
Offline

Joined: Sat Nov 22, 2008 6:33 am
Posts: 68
On a single dll so I can easily implement it on my own 3D engine. I used raydium tri format recoded by my self, and I though you might easily creating a stand alone shadow library. Maybe for the function what I want is I just send the vertex data from tri format to your library and then your library auto generate the shadow for me.

I did read your shadow.c on raydium source but it is too complicated for me, so I guess I need your help.


Anyway, is raydium shadow function only on shadow.c?? If so I guess I know where to start. I will release the code if you want my code. I even want to offer you my tri file parser as a single dll, it is tinier and faster I guess, but the code is on MASM.


Top
 Profile  
 
 Post subject: Re: Request Library
PostPosted: Tue Oct 26, 2010 4:10 pm 
Offline

Joined: Sat Nov 22, 2008 6:33 am
Posts: 68
ouille wrote:
Hello,

Shadow are already implemented in raydium see raydium_shadow_enable();

Or do you need an per object shadow ?

Please try to explain ...

Why a single dll?

have a nice day.
Ouille



After re read your post, I guess yes I need per object shadow.


Top
 Profile  
 
 Post subject: Re: Request Library
PostPosted: Tue Oct 26, 2010 9:21 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

I think that most important part of shadow program is in shadow.c

But i think it is integrated in the render pipeline, so it won't be easy to to get shadows out ...

I don't master opengl and render pipeline, you'll need someone else help sorry.

About tri dll parser, thank you for your help, but it is already hard to maintan raydium code in C, if we have to use pieces of code in assembler it will be very, very complicated !

Does your project always use raydium ? Or you've developt your own engine with masm ?

Have a nice day.
Ouille


Top
 Profile  
 
 Post subject: Re: Request Library
PostPosted: Wed Oct 27, 2010 2:18 am 
Offline

Joined: Sat Nov 22, 2008 6:33 am
Posts: 68
I develop my own engine using MASM. But I used the tri format for the models loading.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group