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
  #126  
Old 2009-06-12, 19:32
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
solid/smooth set the way you calculate shadows (in short it uses faces normals or vertices normals for calculating light density) It doesn't deform the mesh.
With lights off, it doesn't change anything.

Like Kitarii, I think right model looks much better. It's true in that case there are too much shadowing, this can be easily adjusted in my engine by defining material properties : ambiant, diffuse, specular.



Have all a nice week end !

edit : Did you notice in the demo, characters actually have a little of gouraud shading, just the necesary. When mesh is animated, it's much more realistic when you add a little of shading
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-12 at 20:05.
Reply With Quote
  #127  
Old 2009-06-12, 19:40
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
Quote:
Originally Posted by david38 View Post
It doesn't deform the mesh.
Lol, of course it doesn't... Anyway I think there is a huge difference when there are no lights (which is kind of obvious...).

Anyway, as long as you set a soft light I think it should look ok. Otherwise having any sort of texture other then a single colour on the models is rather pointless...

EDIT:
A finished "generic" grobo.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-06-12 at 20:51.
Reply With Quote
  #128  
Old 2009-06-14, 15:55
Janko_slo's Avatar
Janko_slo Janko_slo is offline
Magic Level: Yellow Ball
 
Join Date: Jun 2009
Location: slovenia
Posts: 4
Send a message via MSN to Janko_slo
Wow this grobo looks nice.
Try to add a hat and necktie. XD

__________________
Reply With Quote
  #129  
Old 2009-06-15, 11:04
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Get the 3D map viewer V2
http://www.mediafire.com/?sharekey=4...db6fb9a8902bda
- resizable window (fullscreen unpossible with FLTK...(*))
- more compact buttons and sliders
- windows/linux binaries
- source code
- Blender file

edit (*) :
void Window::fullscreen ( const Monitor & monitor )
Make the window completely fill the monitor, without any window manager border or taskbar or anything else visible. Use fullscreen_off() to undo this.
Known bugs:
Older versions of both Linux and Windows will refuse to hide the taskbar. Proposed solutions for this tend to have detrimental effects, such as making it impossible to switch tasks or to put another window atop this one. It appears that newer versions of both Linux and Windows work correctly, so we will not fix this.
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-15 at 12:37.
Reply With Quote
  #130  
Old 2009-06-15, 13:49
ChaosFish ChaosFish is offline
weee
 
Join Date: Oct 2000
Location: Viking Mothership, Living Quarters
Posts: 21,212
So awesome! (also mirrored)

QQ (quick question) since I didn't really follow this thread: What's the difference between 3D Map Viewer and Perspective Map Viewer? And are there ways to rotate and switch maps with the keyboard/mouse without moving the bars on the right?
Reply With Quote
  #131  
Old 2009-06-15, 16:02
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
QA :
- Perspective map viewer uses fake 3D made from 2D LBA sprites. It exports ugly OBJ files.
- 3D map viewer shows a 3D blender map made by Jasiek and Horadrim, remade from the ugly OBJ file

please also mirror perspective map viewer V3, older version don't have exporter !
No way to rotate camera with keyboard yet, will do it on next versions.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #132  
Old 2009-06-15, 17:18
ChaosFish ChaosFish is offline
weee
 
Join Date: Oct 2000
Location: Viking Mothership, Living Quarters
Posts: 21,212
Oh missed that one, mirrored

That's some amazing stuff. So you're planning to actually rebuild LBA1 in full 3D?
Reply With Quote
  #133  
Old 2009-06-15, 17:35
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Yes, another one trying to make a LBA remake ...
I'm actually making tools so that anybody can get in the project.
Next tool is Character Viewer
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #134  
Old 2009-06-15, 17:44
ChaosFish ChaosFish is offline
weee
 
Join Date: Oct 2000
Location: Viking Mothership, Living Quarters
Posts: 21,212
Did you check out Yaz0r's character/animation viewer?
Reply With Quote
  #135  
Old 2009-06-15, 17:53
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Yes, but as you can see in this thread we are making new models, inspired of LBA but made from scratch
So this viewer will be connected to Blender and not LBA
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #136  
Old 2009-06-15, 23:05
leoboe's Avatar
leoboe leoboe is offline
Magic Ball Master
 
Join Date: Apr 2007
Location: Germany
Posts: 1,169
Just an Idea:
( I know that this has been suggested many times before but that time we hadn't got those great tool so... )

Wouldn't it be possible to get every sprite from LBA1 to a real 3d-model, so that we could actually replace those sprites in the 3d-space (from the p.m.v.) with the real 3d-models that should have been there anyway.
wouldn't that be easier to do then recreating every map from scratch?

I know there are very many sprites but some of them actally are quite the same but just rotated so wouldn't that be possible.
I mean we could start quite simple and just create the models for one Sprite collection and look if it works.

I had this thought for months now and I really want to hear your oppinion about it.
Reply With Quote
  #137  
Old 2009-06-16, 09:58
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
That's good idea, and this is what we have done with the pharmacy, check out the 3D map viewer.
I hope Jasiek and Horadrim will make new maps .
Here is the material grid that is connected to my engine
For each cell of the map (64x64) you select a material texture, and my blender script transform that in a 64x64 number array and export it. (they are 6 materials, one cell = one number between 1 and 6, 0=not walkable).
Attached Thumbnails
Click image for larger version

Name:	material.jpg‎
Views:	197
Size:	76.0 KB
ID:	8080  
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #138  
Old 2009-06-16, 12:40
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
nice

Quote:
Wouldn't it be possible to get every sprite from LBA1 to a real 3d-model, so that we could actually replace those sprites in the 3d-space (from the p.m.v.) with the real 3d-models that should have been there anyway.
Yes, seems to me if you can reproduce it on a tile-by-tile base's it wont be as efficiant in terms of mesh-rendering, but it would be drasticaly less work to do overall.

You could then, purhapes, have custom additions (Like assigning specific light-source points to different scenes)
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #139  
Old 2009-06-16, 13:47
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
David, I did some work on the part of the Citadel isle that's outside the pharmacy, however it's taking a bit longer. Fr the pharmacy I just selected and copied all the vertices I would need from the original map, and then fill them up with polygons, with an outside map it is a bit harder and time consuming.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #140  
Old 2009-06-16, 16:48
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
Well at least with this tool you get a base, you don't start from scratch . Also you can pick up some original textures no ?
Watch out with the number of polygons, with my GeForce 5200 I already have low FPS. Allright it's peace of junk but just to warn you. Could be also a problem with transparency computing.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #141  
Old 2009-06-16, 18:02
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
Did my demo work ok for you? The map of almost the whole island had vastly more polygons then individual scenes will have here.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-06-16 at 18:22.
Reply With Quote
  #142  
Old 2009-06-16, 18:40
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
it works pretty good when not looking at horizon, and with lowest resolution.
3D map viewer with 640x480 window has good FPS, troubles start with 1200x1024...
Did you make the LBA1R engine ? What technics are used for waves and shadows ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #143  
Old 2009-06-16, 19:43
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
You can't look at the horizon in my last demo It's isometric only. I used the Conitec A6 engine. I think I can dig up the script for the waves from the previous demo somewhere (it's written in a c-script which is the GameStudio scripting language). The principle was that the whole sea was a huge plane but made of a lot of vertices arranged in a grid, and the vertices of the grid would move up and down like this:
gu - goes up
gd - goes down
first row vertices: 1gu 2gd 3gu 4gd 5gu 6gd...
second row vertices: 1gd 2gu 3gd 4gu 5gd 6gu...
and so on.

pretty simple actually. You could also program some sort of a realistic wave pattern there.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-06-17 at 01:47.
Reply With Quote
  #144  
Old 2009-06-17, 01:26
ChaosFish ChaosFish is offline
weee
 
Join Date: Oct 2000
Location: Viking Mothership, Living Quarters
Posts: 21,212
By the way, out of the blue, while you people mess with LBA files, LBA File Information can make your life easier. (in case you're not using it already)
Reply With Quote
  #145  
Old 2009-06-17, 10:26
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
yes I actually used those file information for perspective map viewer
I put here two snapshots that show you how you can setup material grid
I forgot materials sand rock(cave) carpet and flowers.
Jasiek, where can I get your last demo ?
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg‎
Views:	220
Size:	282.6 KB
ID:	8081   Click image for larger version

Name:	Clipboard02.jpg‎
Views:	211
Size:	171.4 KB
ID:	8082  
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #146  
Old 2009-06-17, 13:30
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
Awesome work there!

The demo is at the bottom of the first post here:
http://forum.magicball.net/showthread.php?t=14288
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #147  
Old 2009-06-18, 10:11
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
I made a water effect here :
http://www.youtube.com/watch?v=RFJDoREnqs0
there is only one quad drawn there, all the work is made on making the texture. Took me 4 hours to make it with texture maker, it's 20 x 256x256, seamless in space and in time.

I uploaded texture on site page
|
V
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-18 at 10:19.
Reply With Quote
  #148  
Old 2009-06-19, 11:02
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,685
And now grass effect, with similar technic
http://www.youtube.com/watch?v=XmkWw5p0Zd0
I will add a random positionning of grass to add realism. (Actually grass inside a pharmacy is not very realistic but ... )
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #149  
Old 2009-06-19, 12:07
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,100
I have a nice sprite for the grass. You should make it transparent with fuzzy egdes fo tif LBA more. Also, it would be better to have just the sprite itself move with a script instead of animating the sprite... lot less memory get's wasted that way. That's how my grass and trees moved in my demo.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #150  
Old 2009-06-19, 12:18
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
Nice work on both those effects though
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
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 05:17
main page Neko LBA DM 3 2001-04-29 22:12
Why does no one visit the main site? CS2x The site and forum 42 2001-02-01 18:24


All times are GMT +2. The time now is 19:38.


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