Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 June, 2013, 09:55:19 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2 3 ... 8   Go Down
  Print  
Author Topic: [Lua] Make3D -  (Read 7313 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 02:25:56
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 858


Topic starter
Total Post Ratings: +150

View Profile WWW
« on: 22 April, 2011, 04:20:22 »
+9

Hello everyone !
Well, I will present you a little bit this projet I maintain since .. yes ... this is it ... 2.5 years in TI-Basic !
I named it : Make3D.
Original topic in french :
http://tibank.forumactif.com/t4072-wip-make3d-pour-nspire-cas

First it was only a 3D viewer. In France, during HighSchool, we have to make a projet named "TPE" we can translate to "Supervised Practical Work". The goal is to do a presentation of at least 40 pages and an oral lecture of 15 minutes by groups of 2/3/4 during the whole year. My project was to study the subject "Modèles des Simulations 3D", translated to "3D Simulation Models" ('love english). Basicly we had to see how the virtual world was lead by 3D models and 3D simulations. Every days you're looking to an ad, and there is this beautiful car ... OH WAIT THIS IS 3D.... this was the general idea of the project Cheesy

But, during our researches, the supervisor teacher (which one supervises our project) comes and said to us "Hum ... 'ur only using 3D software aren't you ? you only touch to theory ... this is a shame." The next day I went to school with my TI-Nspire and the first version of Make3D, typically a 3D point  rendering engine coded in TI-BASIC on TI-Nspire Cheesy
http://img228.imageshack.us/img228/5349/make3dpg8.jpg
http://img119.imageshack.us/img119/216/suzanne2ta0.jpg

Kinda cool, our teacher and the examinators were just : O_o and we got 19.5/20   good job \o/

Nice ... so, here the little story of Make3D. Only a stub to answer to my teacher ...
This stub finished to make a tree, like a big tree I mean. We were able to display 3D functions, import models from Blender and make some 3D
geometry.
http://i60.servimg.com/u/f60/13/60/39/93/14-05-12.jpg
http://i60.servimg.com/u/f60/13/60/39/93/sqrt_s10.jpg
http://img10.imageshack.us/img10/8108/cran016.jpg
http://img413.imageshack.us/img413/1179/singe.jpg
http://img297.imageshack.us/img297/8758/cran003.jpg
http://i60.servimg.com/u/f60/13/60/39/93/30-05-10.jpg
http://i60.servimg.com/u/f60/13/60/39/93/01-06-12.jpg
http://img821.imageshack.us/img821/2576/joujouinter.gif

But ... of course... TI-BASIC is .... SLOW. We had to wait over than 5 seconds for a 10 points model, 30 for 50, 5 minutes for 100, etc ...
http://img27.imageshack.us/img27/3182/cran001.jpg

Then, Ndless comes. Hum ... I wanted to port Make3D in C... just lazy (many exams for the final year of HighSchool etc ...)

Then Lua comes.

OmyGAD  Shocked

Opportunity to make a real 3D engine Grin
http://i20.servimg.com/u/f20/13/60/39/93/acran010.jpg
http://levak.free.fr/ftp/nspire/Make3D/screens/make3D.gif


So now the goal is : make a program that could help anyone in the comprehension of 3D space whereas the built-in 3D function render DON'T display non-function models. This is the goal of Make3D. Make everything you want is 3D (like a cube, a sphere) you can't do with the built-in functions \o/

Thus, I have to develop a fully user-friendly interface and "SDK" to propose a software which HAVE to be easy to use AND powerfull.
http://education.ti.com/html/nspireplayer/3.0.1/application/index.html?locale=en&nspirefile=http://levak.free.fr/ftp/nspire/Make3D/Make3D.tns

Any suggestions are welcome =D
« Last Edit: 14 September, 2011, 13:53:04 by Levak » Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
mikehill2003
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 17 February, 2013, 06:33:36
Date Registered: 16 March, 2011, 06:38:01
Posts: 280

Total Post Ratings: +9

View Profile
« Reply #1 on: 22 April, 2011, 04:24:11 »
0

Wow...Nice!
Logged
ruler501
Crazy Freshman
LV11 Super Veteran (Next: 3000)
***********
Online Online

Gender: Male
Last Login: Today at 09:33:37
Date Registered: 08 November, 2010, 02:32:33
Location: In a cave with two spots of light and lots of meat
Posts: 2391


Total Post Ratings: +49

View Profile
« Reply #2 on: 22 April, 2011, 04:27:34 »
0

This is great. When do you expect to release a Lua version of this?
Logged


Spoiler for "Projects":
My current games I am working on our:
  I might have an improved C version of this somewhere...
pSDL too lazy too make a userbar so I'll just link to the topic i update routinely http://www.omnimaga.org/index.php?board=146.0
Spoiler for "Misc images of test things":
NerdTests.com says I'm a Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!"<br />[url=http://www.nerdtests.com/ft_personality.php?ref=42769
[/url]
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

------END GEEK CODE BLOCK------
"KnifeOn!  Apply directly to the forehead!  KnifeOn is available without a prescription at retailers nationwide."
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 02:25:56
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 858


Topic starter
Total Post Ratings: +150

View Profile WWW
« Reply #3 on: 22 April, 2011, 04:32:05 »
+1

This is great. When do you expect to release a Lua version of this?
I thought I could release a TI-BASIC version of this many many time but I love to be perfect Cheesy
So here is the link I will frequently update :
http://levak.free.fr/ftp/nspire/Make3D/Make3D.tns

And with the Nspire-player :
http://education.ti.com/html/nspireplayer/3.0.1/application/index.html?locale=en&nspirefile=http://levak.free.fr/ftp/nspire/Make3D/Make3D.tns
Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
graphmastur
King Graphmastur
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 02 February, 2013, 08:34:45
Date Registered: 03 June, 2010, 21:15:55
Posts: 2262


Total Post Ratings: +60

View Profile
« Reply #4 on: 22 April, 2011, 04:55:55 »
0

This looks awesome!  Too bad I don't have a nspire.
« Last Edit: 22 April, 2011, 04:56:06 by graphmastur » Logged

apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 01:30:47
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #5 on: 22 April, 2011, 04:59:41 »
0

This is truly amazing Levak! Smiley

Excellent work!
Logged


adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: 14 June, 2013, 17:56:38
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1202


Total Post Ratings: +186

View Profile WWW
« Reply #6 on: 22 April, 2011, 10:42:40 »
0

Congratulations !

Smiley
Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 09:42:47
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50661


Total Post Ratings: +2640

View Profile WWW
« Reply #7 on: 22 April, 2011, 23:30:26 »
0

This is very cool. I remember seeing this a year ago on TI-BANK back when it was in BASIC. I already found it pretty cool. If the speed in Lua  is decent enough I wonder if it could be used to render some games like the Super Nintendo Star Fox game (I think it was called Star Wings in Europe due to trademark issues) or at least Space Dementia. Even if no game were possible it is still very great.
« Last Edit: 22 April, 2011, 23:30:43 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 02:25:56
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 858


Topic starter
Total Post Ratings: +150

View Profile WWW
« Reply #8 on: 23 April, 2011, 02:18:57 »
0

Hum .. actually I've forgotten to say that I try to use Blender shortcuts and Basic functionnalities/modes

So here are the dots/wire/solid mode integration with a particularity : display point labels.



« Last Edit: 23 April, 2011, 02:24:26 by Levak » Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 09:42:47
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50661


Total Post Ratings: +2640

View Profile WWW
« Reply #9 on: 23 April, 2011, 02:43:23 »
0

That looks pretty good. Also I love how you support shades of gray. Cheesy

On a side note I will move this to the calc projects and ideas section since this is still a project in the works.

By the way does the animated screenshot in the first post run at the real calculator speed?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 02:25:56
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 858


Topic starter
Total Post Ratings: +150

View Profile WWW
« Reply #10 on: 23 April, 2011, 10:42:56 »
0

By the way does the animated screenshot in the first post run at the real calculator speed?

No. In the animated gif, it is too slow. Oncalc it is faster \o/
Edit : Well, I guess it depends on the navigator you use. Personnally on Google Chrome the gif played is slow. OnCalc I can display up to 34 frames per second
« Last Edit: 23 April, 2011, 10:44:48 by Levak » Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 09:42:47
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50661


Total Post Ratings: +2640

View Profile WWW
« Reply #11 on: 28 April, 2011, 00:57:12 »
0

Actually, I tried it on my calc yesterday and it was really great. The speed seemed a bit faster than the screenshot. I think in Chrome GIFs plays at 10 FPS max, so maybe that's why for you it seemed much slower.

Good job by the way! One thing I noticed, however, is that when zooming out too much, the cube seems kinda distorted. Huh?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 02:25:56
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 858


Topic starter
Total Post Ratings: +150

View Profile WWW
« Reply #12 on: 28 April, 2011, 01:27:28 »
0

Good job by the way! One thing I noticed, however, is that when zooming out too much, the cube seems kinda distorted. Huh?

It is not "zoom" but focal lens. This lets you switch between orthographic and perspective view. As often said it is also the Zoffset.
Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 09:42:47
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50661


Total Post Ratings: +2640

View Profile WWW
« Reply #13 on: 28 April, 2011, 01:27:59 »
0

Oh ok, thanks for the info. Cheesy
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 02:25:56
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 858


Topic starter
Total Post Ratings: +150

View Profile WWW
« Reply #14 on: 28 April, 2011, 01:53:36 »
0

Btw, for now I'm thinking about the GUI integration. To be the most flexible possible, I have to think about everything, and this is kinda long. So don't think I let the project dead because I don't do any updates, when an idea comes with me, it is never early Cheesy
Basicly I have to be compatible with the handheld, with the software and with the nspire-player. For that, I have to make a GUI model which can be extensible (I love this word). Now that the core is finished (I think), I have to add all the user part, and this is a main point : Do I have to follow Blender concepts, or do I have to draw my own journey ? Make3D is mainly designed for educational purposes. Add a point, drag it in space, add another point, draw a line between those points. Do I have to solve the line equation ? (distinctions between CAS and nonCAS or really heavy calculous). Or this way : Add a cube, subdivide it, drag some points of the cube, erase and add faces ?

Everything of this is possible, it is just a fondamental question I have to answer : which way take ?

Inb4 : Your answer is "all of that without distinction" : dude, You **** :p
Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
Pages: [1] 2 3 ... 8   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.308 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.