Go Back   the Magicball Network > Forums > LBA Projects > Little Script Adventure
Buy LBA1/Relentless from GOG.com Buy LBA1/Relentless from DotEmu Buy LBA2/Twinsen's Odyssey from DotEmu Buy LBA2/Twinsen's Odyssey from GOG.com Buy Little big Adventure from GOG.com or DotEmu Buy Little big Adventure 2 from DotEmu or GOG.com

Welcome to the Magicball Network.

You are currently viewing our site as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Little Script Adventure An open-source 3D engine with assets and tools for all future LBA fan-games.

Reply
 
Thread Tools
  #476  
Old 2010-02-01, 12:51
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
For your information :
The shadow technic I'm using uses two opengl extensions. Extensions are special rendering process that are not standard to all 3D acceleration hardware. The two extensions I need are GL_ARB_SHADOW and GL_ARB_DEPTH_TEXTURE which are "getting" standard. On my previous graphic card, I didn't have those extensions available, but I'm talking about a cheap and 8 years old card.
So, if I get a lot of people complaining next versions of LSA don't work or is very slow, I'll add a configuration file that allow you to disable shadows.
One more time, try to launch this application ether on windows or linux+wine to see if you'll be able to run next LSA versions !
http://www.davidglass.fr/lsa/pool/Shadow%20Mapping.zip
You should see a bunch of objects create shadow one to the others.
I'm starting to have nice results with shadows on LSA !
Jasiek : do you think there should be self shadowing inside the map (for example you would see the shadow of a tree on the ground) or only shadow from characters to map ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #477  
Old 2010-02-01, 14:37
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 23,836
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame
Works perfectly here.
If its not too much bother, however, you should always try to put an "off" option for backwards compatibility with older cards/pcs.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #478  
Old 2010-02-01, 18:17
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
David, I think self shadowing would look amazing (download my demo, it has self shadowing on the main character).

Won't it be too much of a strain on the gpu if the whole level does it? I could only get good performance with self-shadows on the main character.

Will it be possible to have the shadows transparent (not absolutely black), only to define the shape, instead of having black shadows like in space where there's no atmosphere :P?

The shadow program works in wine on Linux. Extremely well on my main pc, and extremely slow on the netbook :P.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #479  
Old 2010-02-01, 18:38
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
As you can see in the shadow application, shadows are not completely black. Actually shadows have the same color than the objects when rendered with only a dark ambiant light.
What do you mean by self shadow ?
I can choose who is the shadow emitter, for example all the characters + scene or only the characters. The shadow receiver can also be chosen.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #480  
Old 2010-02-01, 19:23
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
Self shadow is when the model not only drops shadows on other models, but also on itself.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #481  
Old 2010-02-02, 02:01
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100


New models. Only two Rabibunnies left, and three or so bunny clones. Then the Sphero's, and some Grobo's.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #482  
Old 2010-02-02, 02:17
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 23,836
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame
They look like they are dancing.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #483  
Old 2010-02-02, 09:07
Kobold's Avatar
Kobold Kobold is offline
Magic Ball Master
 
Join Date: Jun 2006
Location: Germany
Posts: 7,337
Great work, Jasiek. I think this project is moving along faster than anyone expects it to. They're still people in the LBA 1 Remake thread not realising that it's all here.
Reply With Quote
  #484  
Old 2010-02-02, 19:39
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
I'm impressed !
It's very great modeling+ texturing!
After I finish this shadow map renderer, I'll start animating some characters. Which models do you consider as finished version ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #485  
Old 2010-02-04, 10:33
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
first result of shadow mapping

EDIT : try it here !

Attached Thumbnails
Click image for larger version

Name:	shadow.jpg‎
Views:	132
Size:	269.2 KB
ID:	8302  
__________________
Little Script Adventure[thread][download]

Last edited by David; 2010-02-04 at 11:15.
Reply With Quote
  #486  
Old 2010-02-04, 13:28
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 23,836
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame
Wow.
I stared at that routing for a few minutes then when I closed the window it looks like my monitor is twisting
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #487  
Old 2010-02-04, 15:21
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
I have a low FPS on my office computer, with a NVIDIA quadro fx 370. In the demo above characters are not even drawn ! That means it should be even slower ...
On home computer, with ATI 4870, it works perfectly.
To render the whole scene with shadows, it has to be rendered 3 times, and actually the code is not optimized. I read somewhere there is a technic so that it's only rendered two times, even "1.5" if you deal with static and dynamic objects.
How does it work for you ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #488  
Old 2010-02-04, 17:26
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
It spins like crazy and the shadow layers are all wrong on the netbook. I'll test it on the desktop later on.

Imho, the best thing to do is to precalculate the shadows for each map, and then back them to a texture overlaying the map. Only have dynamic shadows for elements that will actually move.

EDIT:
It works extremely well on my falks windows machine.
Which is a GeForce 6800 XT, on an AMD Sempron 2800+.
However, the fullscreen is all messed up, the texture sorting is wrong and the shadow layer is all misaligned with the map.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2010-02-04 at 17:34.
Reply With Quote
  #489  
Old 2010-02-04, 17:44
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
if you precalculate shadows inside a basic texture and blend it to map, it's fast, but you won't be able to compute scene shadow on characters, which will look very strange. Imagine a character fully enlightened inside a shaded area.
Other solution I see is to pre render scene in a depth texture and add to it character depth. Don't know if it's feasable. In the demo depth texture is renewed completely each frame.
There is a bug with low resolution window < 1024x768. I know how to solve this.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #490  
Old 2010-02-04, 17:56
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
Well Metal gear solid had it's shadows precalculated, while the character shadows remained dynamic.

Of course it would look weird. But I'm guessing you would set up lightning for the characters according to the light you used to precalculate the shadows for the scene?

EDIT:
Unless you mean when the character steps into a shadow... yeah, that would look weird.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #491  
Old 2010-02-08, 02:42
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100


The Captain Rabibunny! Or rather... Skipper.
http://www.sendspace.com/file/0ftqmi

You can animate this one, and most of the bunnies. I'll redo the textures on the ones in the torn clothes, to add some opacity on the edges (so it's more believable). I'll upload the females later.

Some smoke would be cool to go from the pipe btw .
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #492  
Old 2010-02-08, 03:27
lba07's Avatar
lba07 lba07 is offline
Magic Level: Fire Ball
 
Join Date: Jun 2007
Location: uk
Posts: 408
Great work man!
__________________
visit my gameing website: www.consolecaliber.com
Reply With Quote
  #493  
Old 2010-02-08, 17:15
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Great !!!
I'll start with this one, and when animations are good enough I'll adapt it to other rabibunnies
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #494  
Old 2010-02-08, 20:40
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
I guess the standing animation will be different for him, like holding the pipe in his hand and blowing it from time to time.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #495  
Old 2010-02-09, 02:07
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100


The fisherman bunny. The fishing rod will be tricky to animate, but all you need to do to make it appear to wind is to stretch or shorten the parts between the hook and the rod (there's five quads in there, so it bends when he throws it into the water).

http://www.sendspace.com/file/evguc2
Here's the model, plus the updated Rabibunnies with the torn clothes.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #496  
Old 2010-02-09, 21:19
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Great work !!

There are textures missing here :
QuetchCloneWhite.blend (everything !)
RabbibunnyCaptain.blend (the pipe)
RabbibunnyMaleRedRags (everything !)

all your models are here
http://www.davidglass.fr/lsa/pool/jasiek/
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #497  
Old 2010-02-10, 19:10
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
http://www.sendspace.com/file/scfl4d
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #498  
Old 2010-02-10, 20:39
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Great, all the models have texture now, I updated the files.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #499  
Old 2010-02-11, 17:08
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
So yeah, I have three rabibunnies left, the old dude, the rocker, and the disco bunny - I'll do a female version too. And then maybe more variation - but that's all for Tipett Island and not really now. The old dude is giving me problems - especially the beard and the mustache.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #500  
Old 2010-02-12, 16:55
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
I'm still working on shadows, it's difficult. I'm happy you are drawing more and more characters for the game, that motivates me !
__________________
Little Script Adventure[thread][download]
Reply With Quote
Reply

Tags
awesome, demo, engine, lba, lba1r, little bigger adventure, little script adventure, non profit, opengl, opensource, tools

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Link on mbn main page Vral The site and forum 19 2005-11-04 06:17
main page Neko LBA DM 3 2001-04-29 23:12
Why does no one visit the main site? CS2x The site and forum 42 2001-02-01 19:24


All times are GMT +2. The time now is 15:25.


News Feed
Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2019, the Magicball Network