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
  #2701  
Old 2011-10-25, 14:16
GoofyLife GoofyLife is offline
Magic Level: Red Ball
 
Join Date: Nov 2006
Location: Norway
Posts: 162
Quote:
Originally Posted by Horadrim View Post
@GoofyLife: I never thought of making the site in flash, nor I think it`ll be appropriate. The whole thing here is about two (probably) .swf animations for the background. As for the tablets, there always could be made a site optimization for such devices, which will exclude these animations. Everything is in the site planning, so I think that you all act too hastily, without even knowing what my idea is.
Yes I was a little quick to judge the whole Flash part, sorry for that, I just get a little anoyed everytime I visit a flash-heavy site on the Tab. Anyhow.. I`m looking forward to a nice LSA site
Reply With Quote
  #2702  
Old 2011-10-25, 17:32
MatheusMK3's Avatar
MatheusMK3 MatheusMK3 is offline
~le photographer~
 
Join Date: Jun 2010
Location: Upper City, Otringal, Zeelich
Posts: 371
Send a message via MSN to MatheusMK3
Well, you don't need to use Flash to have a nice site with animations, etc... Just use jQuery...
__________________

Web | Facebook | Google+ | Twitter
Reply With Quote
  #2703  
Old 2011-10-25, 18:47
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
Quote:
Originally Posted by MatheusMK3 View Post
Well, you don't need to use Flash to have a nice site with animations, etc... Just use jQuery...
I need it, because I could make these animations in 3DS Max and then export them in flash format. It`s more easier to me.
Reply With Quote
  #2704  
Old 2011-10-26, 09:31
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
viewer should now show all materials correctly, still have to add this sglow, should be ready today
I added some checkerboard rendering to see rendering outputs alpha channel, main menu->output
I will write a documents showing how different passes are blended

Edit : glow is using different rendering, you should see glowing only on the silhouette
__________________
Little Script Adventure[thread][download]

Last edited by David; 2011-10-26 at 09:47.
Reply With Quote
  #2705  
Old 2011-10-26, 10:39
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
The output menu is very nice idea. It`ll allow rendering tests, without screwing the source :P .
Reply With Quote
  #2706  
Old 2011-10-26, 12:28
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
_sglow material works
you can see it on harbor map (which launch by default), I added a stone with sglow material on it
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2707  
Old 2011-10-26, 15:10
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
Perfect! I now could make some tests ^_^.
Reply With Quote
  #2708  
Old 2011-10-26, 15:33
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
I've added a seafloor to see ocean shader better, it's just a conceptual and for test purpose, I hope you like it anyway !
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2709  
Old 2011-10-26, 16:20
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
Yep, it`s nice. I was making some corals. With few underwater rocks and algae it`ll look wonderful.
Reply With Quote
  #2710  
Old 2011-10-26, 16:36
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
If the shader work correctly for you, you should see refraction effect isn't it ?
I couldn't find any algae sprites on the web ... maybe they could be APNG, or even SMD models !
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2711  
Old 2011-10-26, 17:39
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
I think that the alpha map does not work with the _glow textures. I used _sglow instead, but I can`t achieve the effect I want :/ . As for the algae - are you sure that it`ll be good to animate the algae? The ones I made look like they`re moving under the water, because of the refraction.
Reply With Quote
  #2712  
Old 2011-10-26, 18:51
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
You're right, you wouldn't distinguish if algae are animated or not because of this shader, sprites should be enough then, like the one I added.
Can you describe which effect you want to do, and comit example ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2713  
Old 2011-10-26, 19:21
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Something like this ? I changed a bit shaders to take in count alpha channel.
Right now sglow is not thought to be transparent, it should not be named this way I think. Current sglow is like a raw rendering, no lighting, no effects, output=input, and rendered during the opaque pass. I could add similar material but in transparent pass to get the effect below without refraction and glow effect

__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2714  
Old 2011-10-26, 20:44
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
Do you see these petals? I want them to glow. Currently I`m using _sglow + alpha, but I want the bloomy effect that the _glow provides.
Attached Thumbnails
Click image for larger version

Name:	minabea.jpg‎
Views:	38
Size:	21.7 KB
ID:	8932  
Reply With Quote
  #2715  
Old 2011-10-26, 20:59
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Could you comit that on test folder ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2716  
Old 2011-10-26, 21:49
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2717  
Old 2011-10-26, 22:46
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
I`ve uploaded it. All I could achieve with the _glow is this:
Attached Thumbnails
Click image for larger version

Name:	minabea.jpg‎
Views:	43
Size:	20.5 KB
ID:	8933  
Reply With Quote
  #2718  
Old 2011-10-26, 23:00
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
check the photo above (I updated it)
So if you want glowing coral and the transparent ocean above it, it means I have to add glowing rendering in the opaque pass too. Thus we have a new material :
_oglow opaque glowing who uses alpha clipping
_tglow transparent glowing who uses alpha blending, with refraction effect
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2719  
Old 2011-10-26, 23:39
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
The both suggestions are good. If you have time (and wish to) implement them. The problem that occurs to me is actually out of the water - I should see it as in your shot. Did you change anything?
Reply With Quote
  #2720  
Old 2011-10-26, 23:49
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
What you see on the shot is not on the repo yet. Their will be 2 more post processes, to create the opaque glowing, a x blur pass then y blur pass. Check the postprocess1-2 outputs which shows transparent glowing passes.

Since I implemented the output feature, everything is more clear to me, you can see they are lots of passes and shaders/materials. That was getting impossible to continue without this trick.

The picking is not working well now, everything is so connected, when I add a new feature I always lose what I did before ...

looks like yellow algae texture is missing
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2721  
Old 2011-10-27, 00:08
Horadrim's Avatar
Horadrim Horadrim is offline
Free-lance designer
 
Join Date: May 2004
Location: Bulgaria
Posts: 1,356
Send a message via ICQ to Horadrim
I see... Ok then, I`ll wait. The missing texture is uploaded now.
Reply With Quote
  #2722  
Old 2011-10-27, 03:12
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Here you can see on the left _glow and on the right _tglow, rendering respectively on opaque and transparent pass. Objects rendered on transparent pass are getting invisible when viewed through another object of transparent pass. On this example if you put the ice block under water it disappear. Or on citadel island if you look through a lamp post head to water you don't see it. Just keep it in mind while modeling.



All is on the repo, I modified alpha channel of coral texture, cause alpha was too low, opaque parts should be 255 it was like 125
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2723  
Old 2011-10-27, 14:43
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,099
It looks perfect, except that shiny stuff looks wet now - is that due to normal mapping? Could the refraction for _shiny be based on the amount of noise/strongness of the normal maps?

Metal bits look all wrong because of that. Some stone pieces which I'm not sure are set to be shiny also look wet.


Apart from that, absolutely brilliant.



So we should decide on how to make the outside maps now?
A single map loads a pretty long time now... not to mention if it's a whole island...
Without that I don't really know hot to proceed with the map making.

And I'd really like to have grass sprites placed randomly on faces with a grass texture, with a random flower here and there. Grass sprites should be _transp.

And Horadrim about the prison I was thinking - we'll have a pretty radical departure from what was present in LBA1/2 in terms of level design outside - how about "smoothing" things out in the prison? Change it a bit, roound the corners, add more but smaller cells and add some prisoners in straitjackets in there - maybe ditch the "disappearing ceiling" concept and move the rooms a bit - there's plenty of unused space in there. Darken it up a bit I guess - or make it more "white and sterile" - akin to a WW1 hospital.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2011-10-27 at 15:00.
Reply With Quote
  #2724  
Old 2011-10-27, 15:33
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
added a "Save outputs as PNGs" button on main menu, its writing all outputs (with alpha channel too) to a folder called "outputs_PNGs" in trunk
Some outputs are empty cause they are cleaned before exporting, will corrrect that ...
Note the strecth, its normal, because all render target are square
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #2725  
Old 2011-10-27, 18:23
ambient's Avatar
ambient ambient is offline
Magic Level: Red Ball
 
Join Date: Jun 2010
Location: Russia
Posts: 146
Quote:
Originally Posted by Jasiek View Post
So we should decide on how to make the outside maps now?
A single map loads a pretty long time now... not to mention if it's a whole island...
Without that I don't really know hot to proceed with the map making.
Loading process can be (and should be) optimized. Of course, you need careful profiling to determine bottlenecks but I bet that PNG loading and model file parsing are the key problems.
__________________
Become one with Russia, da?
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 Jesse 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 04:00.




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