Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - critor

Pages: 1 ... 134 135 [136] 137
2026
Great work Brandon!!!

Now let's try to guess how many months it will take TI to fix that...

2027
TI-Nspire / Re: Nspire Raycaster
« on: April 14, 2010, 12:14:08 pm »
great work, bwang! :-)

2028
TI-Nspire / Re: Nspire Raycaster
« on: April 13, 2010, 05:19:15 am »
Good work, great! :-)

critor: do you have the formulas/source code for drawing the floor segments? I can't seem to figure it out :(

You can get the source of my Java engine, but it may take more time to study it than to build your own algorithm.


When the ray enters a square-wall, if that wall is visible I'm calculating the top and bottom coordinates and drawing the wall.
Those coordinates are kept in the program for being used when the ray exits the square-wall.

When the ray exits the square-wall, I'm calculating those farther top and bottom coordinates, exactly as if I wanted to draw the back of the wall.

If the wall uses a transparent texture, that wall is really drawn.
If the top of the wall is visible, I'm drawing a line between the old and new top-coordinates.
If the bottom of the wall is visible, I'm drawing a line between the old and new bottom-coordinates.

Then of course, by exiting the square-wall, the ray is entering another square-wall.
So I'm looping, drawing the front of the new wall (if visible) again...

2029
TI-Nspire / Re: Nspire Raycaster
« on: April 08, 2010, 03:00:41 am »
Does anyone have advice/code/pseudocode on how to do multiple height walls? I could use some guidance on how to optimize the feature (I think I have the math right now, but I haven't started implementing yet because it looks messy).


The casted ray must not stop at the 1st hitten wall. It has to go through it
With the ray, I'm building a list of objects to display.

Each time the ray hits a wall, I'm adding an object to the list.

Each object consists of its coordinates for the line() function and its color or texture tile.
If we are higher than the top of the wall(or if its texture is transparent), a 2nd object for drawing the top of the wall (floor) is added.
If we are lower than the bottom of the wall (or if its texture is transparent), an object for drawing the bottom of the wall (ceiling) is added
If the texture is transparent, a last object for drawing the back of the wall is added.

The ray stops at the end of the world.
If the world is too big, it may be much slower, when looking far away.

Then I'm drawing objects, from the farthest to the nearest.
So nearer objects are drawn over farther objects, which is natural.


You may then make some optimisations:
- stopping the ray when it is too far (but the effect is not "natural" if you don't add some shading-, fog- or water-effect)
- adding an object to the list, only if it is partially visible (not hidden completly by nearest objects)
- stopping the ray if nothing more can be visible (all pixels from the bottom to the top of the screen have been drawn)

2030
News / Re: TI-Nspire calculators now have Ndless possibilities
« on: April 04, 2010, 11:24:50 am »
Has anyone tried to downgrade from 2.0.1 to 1.1 and then install Ndless?

It's working perfectly.

2031
Ok, I've made some tests with 20 TI-83+ 512K ROMs:

- the 10 OS I've got (1.03, 1.10, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19)
- combined with the 2 Boot Codes I've got (1.00, 1.01)

In all cases, the emulator is booting correctly.


So congratulations for the compatibility!


I also tried to use some very similar TI-73 512K ROMs, but it hasn't worked up to now.

2032
TI-Nspire / Re: Nspire Raycaster
« on: April 04, 2010, 04:08:22 am »
Looking up/down doesn't work well with the floor.
It produces strange things with sprites too. (doesn't seem natural)

Anyway that's not very important, because when adding variable-height walls, you'll have to rework that code. It may then be easier too...

A little (but more important) bug:
When starting the engine, if you only move forward, you can see that a column of pixels in the middle of the screen remains undrawn.


I'm not criticizing: your work is great.

If you need any help, here is a great tutorial about raycasting.
It's the one I used, years ago.
http://www.permadi.com/tutorial/raycast/index.html



######################

@Omnimaga
Here is my engine -> http://xandrean.free.fr/3dapp/test.html

It has a configuration-screen, like you asked for.
Have fun.

2033
TI-Nspire / Re: Nspire Raycaster
« on: April 04, 2010, 03:35:49 am »
Having variable height walls would be great.

Years ago, I developped on online raycasting engine in Java.


From my own experience, variable height walls don't slow the engine very much.
Each squared-based-wall had a height and an altitude.
Thanks to the height value, you could climb stairs, walk on walls.
Thanks to the altitude value, you could enter rooms or corridors.

I just used some grey-shaded color for floors and ceilings.


This really transforms the virtual world!
I hope you'll do it.


I do confirm that adding a floor texture (which means floor-casting) was much more time demanding.

2034
TI-Nspire / Re: Nspire Raycaster
« on: April 03, 2010, 07:31:45 pm »
I've been reported a display-bug on an Nspire CAS.

Please watch the video:
http://profile.imageshack.us/user/Levak_92/videos/detail/#189/cimg6977.mp4

2035
Does the emulator only support 512K ROMs ?

2036
News / Re: TI-Nspire calculators now have Ndless possibilities
« on: April 03, 2010, 02:29:32 pm »
On the new 2.0.1 OS, the boot2 is the same.
I was able to downgrade to 1.1, after installing 2.0.1.

But, that update is happening too early...
There must have been something very important is the 2.0.0 OS...

2037
News / Re: TI-Nspire calculators now have Ndless possibilities
« on: April 02, 2010, 04:25:03 pm »
TI-Bank has received today a lawyer letter, asking in the name of TI for the removal of all TI-Nspire OS 1.1 copies on the server.

The letter is mentionning neither other versions of the OS, neither z80/68k OSes.


So it's definately an attack against Ndless.
(TI doesn't learn from its mistakes...)


Starting from today, Ndless 1.0 won't be able to download the OS 1.1 from TI-Bank any more.

So Ndless needs to be updated.


Critor


For reference (in french) -> http://tibank.forumactif.com/evenements-f1...nk-t5291-15.htm

2038
That's pretty neat critor.  I'm curious as well.  What did TI do...

Great job finding that! :)


Thanks.


So let's sum up...


Reference is OS 2.43.

With MP enabled, Disp/Output are 6 times slower on the 2.53MP...
With MP enabled Disp/Output are only 2.5 times slower on the 2.54MP!!!


DJ, can you test?
What do you think about it?

I'll be happy to read you  ;)

2039
Also it sucks for BASIC gamers about OS 2.54 MP x.x

No it doesn't, DJ...

My speed tests are showing something very interesting...
...
..
..
.
.
.

Displaying on the text screen with MP enabled is 2.5 times faster on the 2.54MP system, than on the 2.53MP system.

For previous systems, 84+ emulation speed on the TI-Nspire was similar to a true TI-84+ speed.
So it's not the Nspire cpu that is making a difference...

Furthermore, with MP disabled there is no difference between the 2.54MP and the 2.53MP...


No, TI has done "something" special for the 2.54MP system...

The 1st question is "what?"...
The 2nd question is "can it be ported to the true TI-84+?"...


Check my original post in french:
http://tibank.forumactif.com/actualites-f7/performances-ti-84-t5141.htm#82216

2040
Hi.

This will be my only post in this thread.


-Try to get Mic and Critor to not go to such extents (legal actions)

I don't know about Mic, but I'm not going to do that.


By the way...

I have never said I am against sharing them online. I was just worried about TI-BANK future so I wondered if it was legal or not.

I know.
I was against uploading Game Boy ROMs (not sure you've seen my post last week).
But as they were uploaded despite that, I was asking myself some questions. I was worried too...
That's why I've answered to your post, asking for more information on various things.

The questions and examples weren't against you...
They weren't there to prove you wrong.

They were just there, so that we can better understand what's legal or not.
Although TI-Bank's server is not in America, Internet is international.
So I was looking forward to your reply, as you know the American laws much better than me.


Have courage - life is not easy.

Critor


Notice: English is not my native language. Usually, I only post technical informations in english. I didn't want to offend anyone in this post. Sorry if anything is not correctly written.

Pages: 1 ... 134 135 [136] 137