-->
Nspire Raycaster
-->
-->
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
-->
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
Nspire Raycaster
« previous
next »
Print
Pages:
1
...
12
13
[
14
]
15
16
...
32
Go Down
Author
Topic: Nspire Raycaster (Read 114942 times)
0 Members and 1 Guest are viewing this topic.
bwang
LV7
Elite (Next: 700)
Posts: 634
Rating: +30/-11
Re: Nspire Raycaster
«
Reply #195 on:
April 13, 2010, 11:45:35 am »
Mode 7 and what I was doing are completely different things. Mode 7 takes a sprite, then distorts it to give an illusion of perspective. I was essentially doing a ray tracing (pixel-by-pixel) pass to draw the floors. I'm thinking about doing Mode 7 to draw floors in the future, though (but that's in the far future, after I squash all the bugs out).
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Nspire Raycaster
«
Reply #196 on:
April 13, 2010, 11:46:31 am »
True, I also noticed some games uses some sort of masking that makes the planet look round, so it looks like you're very high in the sky. I think Secret Of Evermore did, as well as FFV, but FFV didn't rotate so it isn't fully Mode 7.
Now what I am curious about is if it's possible to have fast Mode 7 on the Nspire? I mean the resolution is similar to the SNES and the SNES can run Mode 7 at 60 FPS. What I wondered is if a SNES can achieve such speed, why wouldn't a Nspire running at 90 MHz be able to do the same?
«
Last Edit: April 13, 2010, 11:47:38 am by DJ Omnimaga
»
Logged
bwang
LV7
Elite (Next: 700)
Posts: 634
Rating: +30/-11
Re: Nspire Raycaster
«
Reply #197 on:
April 13, 2010, 07:10:03 pm »
New demo fixes several bugs (most notably, floors). In addition, +/- move the camera up and down.
Sprite clipping is still buggy.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Nspire Raycaster
«
Reply #198 on:
April 13, 2010, 07:35:21 pm »
oh nice camera moving up/down is back
Logged
bwang
LV7
Elite (Next: 700)
Posts: 634
Rating: +30/-11
Re: Nspire Raycaster
«
Reply #199 on:
April 13, 2010, 09:13:12 pm »
Latest demo fixes sprite clipping. Sprites now also move up and down with you.
Next up: sprites and blocks at different altitudes.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Nspire Raycaster
«
Reply #200 on:
April 13, 2010, 09:27:52 pm »
Wow nice and I noticed a major speed increase when close to walls. Nice job with the floors on top of walls. One only issue, tho: I noticed a very drastic slow down when close to sprites. Some frames even took 10 seconds to render
Logged
AaroneusTheGreat
Moderator
LV5
Advanced (Next: 300)
Posts: 287
Rating: +26/-1
Re: Nspire Raycaster
«
Reply #201 on:
April 14, 2010, 12:32:59 am »
We can has screenshot?
«
Last Edit: April 14, 2010, 12:33:30 am by AaroneusTheGreat
»
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Nspire Raycaster
«
Reply #202 on:
April 14, 2010, 01:20:54 am »
Well I used a real calc so no screenies but I could post a video of it when I get new batteries
Logged
phj
LV1
Newcomer (Next: 20)
Posts: 8
Rating: +1/-0
Re: Nspire Raycaster
«
Reply #203 on:
April 14, 2010, 10:22:57 am »
The sprites made my nspire crash (it didn't react or extremely slow so I even couldn't use esc). Are the walls infinitely high?
Logged
SirCmpwn
Guest
Re: Nspire Raycaster
«
Reply #204 on:
April 14, 2010, 10:40:22 am »
You can haz screenshot.
Logged
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: Nspire Raycaster
«
Reply #205 on:
April 14, 2010, 11:37:52 am »
Nice! Sprites implemented! and tops for walls!
With Mode7 I don't think I could tell the difference between that and real 3d!
Logged
bwang
LV7
Elite (Next: 700)
Posts: 634
Rating: +30/-11
Re: Nspire Raycaster
«
Reply #206 on:
April 14, 2010, 12:09:51 pm »
The sprites don't crash; they just grow very tall when you get close.
Don't worry, this is easy to fix.
Logged
critor
Editor
LV11
Super Veteran (Next: 3000)
Posts: 2079
Rating: +439/-13
Re: Nspire Raycaster
«
Reply #207 on:
April 14, 2010, 12:14:08 pm »
great work, bwang! :-)
Logged
TI-Planet
co-admin.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Nspire Raycaster
«
Reply #208 on:
April 14, 2010, 01:01:31 pm »
Thanks SirCmpwn.
Keep in mind people that it's not how fast the game run, in Sir screenie, though. Except when close to sprites, I swear I get in the 20-30 fps, based on how fast it runs.
I think this is gonna land in a Major community project sub-forum soon.
«
Last Edit: April 14, 2010, 01:01:59 pm by DJ Omnimaga
»
Logged
AaroneusTheGreat
Moderator
LV5
Advanced (Next: 300)
Posts: 287
Rating: +26/-1
Re: Nspire Raycaster
«
Reply #209 on:
April 14, 2010, 02:10:23 pm »
Wow that's amazing, it looks really good. I've been waiting for something like this. The possibilities are endless! Very nice work. Keep it up.
Logged
Print
Pages:
1
...
12
13
[
14
]
15
16
...
32
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
Nspire Raycaster
\n\t\t\t\t\t\t\t\t\t
<' + '/div>\n\t\t\t\t\t\t\t\t\t
%body%<' + '/textarea>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
Max characters: 20000; characters remaining:
...<' + '/span><' + '/span>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t<' + '/div>', sTemplateSubjectEdit: '
', sTemplateBodyNormal: '%body%', sTemplateSubjectNormal: '
%subject%<' + '/a>', sTemplateTopSubject: 'Topic: %subject% (Read 114942 times)', sErrorBorderStyle: '1px solid red' }); aJumpTo[aJumpTo.length] = new JumpTo({ sContainerId: "display_jump_to", sJumpToTemplate: "
Jump to:<" + "/label> %dropdown_list%", iCurBoardId: 196, iCurBoardChildLevel: 1, sCurBoardName: "TI-Nspire", sBoardChildLevelIndicator: "==", sBoardPrefix: "=> ", sCatSeparator: "-----------------------------", sCatPrefix: "", sGoButtonLabel: "go" }); aIconLists[aIconLists.length] = new IconList({ sBackReference: "aIconLists[" + aIconLists.length + "]", sIconIdPrefix: "msg_icon_", sScriptUrl: smf_scripturl, bShowModify: true, iBoardId: 196, iTopicId: 4337, sSessionId: "b2eb7a302f461eb393e49b2856ec5596", sSessionVar: "b9f2d8dfe", sLabelIconList: "Message Icon", sBoxBackground: "transparent", sBoxBackgroundHover: "#ffffff", iBoxBorderWidthHover: 1, sBoxBorderColorHover: "#adadad" , sContainerBackground: "#ffffff", sContainerBorder: "1px solid #adadad", sItemBorder: "1px solid #ffffff", sItemBorderHover: "1px dotted gray", sItemBackground: "transparent", sItemBackgroundHover: "#e0e0f0" }); } function tick2() { if (typeof(document.forms.quickModForm) != "undefined") { calcCharLeft2(); setTimeout("tick2()", 1000); } else setTimeout("tick2()", 800); } function message_onkeyup() { if (typeof(document.forms.quickModForm) != "undefined" && typeof(document.forms.quickModForm.message) != "undefined") { document.forms.quickModForm.message.onkeyup = function onkeyup(event) { storeCaret(this); calcCharLeft2(); }; } else setTimeout("message_onkeyup()", 800); } message_onkeyup(); function calcCharLeft2() { var maxLength = 20000; var oldEditor = "", currentEditor = document.forms.quickModForm.message.value; if (!document.getElementById("editorLeft2")) return; if (oldEditor != currentEditor) { oldEditor = currentEditor; if (currentEditor.replace(/\r/, "").length > maxLength) document.forms.quickModForm.message.value = currentEditor.replace(/\r/, "").substring(0, maxLength); currentEditor = document.forms.quickModForm.message.value.replace(/\r/, ""); } setInnerHTML(document.getElementById("editorLeft2"), maxLength - currentEditor.length); } // ]]>-->