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 - ben_g

Pages: 1 ... 62 63 [64] 65 66 ... 71
946
General Calculator Help / Re: Sound in BASIC-programs
« on: June 14, 2011, 02:26:55 pm »
Install an other version of the app

947
General Calculator Help / Re: Sound in BASIC-programs
« on: June 14, 2011, 02:20:59 pm »
AND EVERYTHING IS UPSIDE DOWN
I had that too once. Turn your calc of to avoid that your ram will get cleared when pulling a battery, then pull a battery, and when you turn your calc back on, everything should be right again.

948
ASM / Re: Texture drawing
« on: June 14, 2011, 02:17:33 pm »
Isn't it much easier to calculate how tall the wall is by calculating the distance between the upper point and the lower point? I already convert points from 3D to 2D, so won't it be faster when the textures are calculated to just fit between those points? Triangles have more possibilities, so I think triangles are the best choice, but if I can calculate the slope and size of all 3 sides, isn't that enough to apply a texture?

949
General Calculator Help / Re: Sound in BASIC-programs
« on: June 14, 2011, 01:43:12 pm »
B is for how long to play the tone.

If you set that to something too low, you won't hear anything, but too high and your program will become very slow.
Try to use something in between.

950
General Calculator Help / Re: Sound in BASIC-programs
« on: June 14, 2011, 01:35:51 pm »
Try changing the first argument (You can use a variable for that).

But don't set the time argument (2nd argument) to something very high. It would make your program react very slowly on key presses.

951
ASM / Re: Texture drawing
« on: June 14, 2011, 01:33:14 pm »
Ok, here is my method. I'm literally making it up as I write this post, but in the end it should work. For this you should use triangles.
...
2. Calculate the relative size of the leftmost point. (3d window distance thing / distance)
3. Now calculate the relative size of each of the other two points and subtract the original from them.
...
Could you please explain what you mean by the size of a point?

[offtopic] Congrats ben_g: 100th post !
Thanks. 100 post sure goes by fast. I didn't knew I was already there :P

952
ASM / Re: an other assembly question
« on: June 14, 2011, 01:23:54 pm »
Do you still have problems with that ERR:BREAK?
Nope, That's all solved now.

Many thanks to everybody who helped me!

953
General Calculator Help / Re: Sound in BASIC-programs
« on: June 14, 2011, 01:12:06 pm »
freq(number, time

The higher the number, the lower the frequency. Time is in microseconds (if I am right), and if number > time, you won't hear anything

example: try this:

Code: [Select]
:Repeat Getkey(15)
:freq(10,100
:End

That should give sound untill you press clear

954
ASM / Re: Texture drawing
« on: June 14, 2011, 07:27:37 am »
Well Gemini was a raycaster, not a "real" 3D engine. Which I believe is what ben_g wants. Applying textures in raycasting is easy because of the vertical scanline rendering method and the restrictions of the camera.
Yes, It's a "real" 3D engine, and it supports both vertical and horizontal rotation, as well as letting the camera rotate along it's axis using the up vector. There's no way to use routines from raycasters for this. I've already checked gemini, and it renders by casting rays, not by calculating the location of points and drawing a texture between them.

btw: what would be the easyest? Drawing a texture on the quad or drawing a quad as two textured triangles? (Triangles are used with 3D on a computer, But I don't know which is the fastest)

955
ASM / Texture drawing
« on: June 13, 2011, 04:29:29 pm »
Does anybody knows how to draw repeated textures? It would help a lot at my 3D engine, which now can only render wireframe.

I only need to know how it's done, so I can write my own routine.

What I mean with textures: this is a wire frame rectangle rendered by my 3D Engine:

I want to draw a sprite between those 4 points. Could someone explain the principle behind this please?

956
You can use any mini-usb to usb cable as a TI-84+ linking cable. Many digital cameras use that cable.

TI-linking software is free, and doesn't require any kind of licence

957
General Calculator Help / Re: Ordering a TI-86
« on: June 12, 2011, 06:02:17 pm »
You can ask a friend to buy it for you, and if they can't do it, than maybe their parents can do it

958
General Calculator Help / Re: Ordering a TI-86
« on: June 12, 2011, 04:23:16 pm »
Can't you just let your parents order it if you gave them the money?

959
Humour and Jokes / Re: xkcd comics I agree with
« on: June 11, 2011, 07:00:59 pm »
this one: http://xkcd.com/391/


* ben_G has WON the game

960
ASM / Re: an other assembly question
« on: June 10, 2011, 03:51:39 pm »
I've been debugging for almost 2 hours now, and i still can't find out why my code crashes.

I've now tried to uncomment all of the commented out lines, and to backup the ix register. This lead to an other problem: I get an ERR:BREAK every time i try to run the program, when i don't press on. I don't know what causes the error message-I didn't even knew the OS did error checking on assembly programs, But how can i get rid of the error?

EDIT: It all works now.

EDIT2: screenie :)

Pages: 1 ... 62 63 [64] 65 66 ... 71