Author Topic: old Javacode and some dx9code  (Read 1122 times)

daydreamer

  • Member
  • ****
  • Posts: 830
  • watch Chebyshev on the backside of the Moon
old Javacode and some dx9code
« on: April 20, 2018, 02:38:50 AM »
tried to make game in Java,if time permits I want to port some of the code to masm and optimize it to run at lightspeed
also some old dx9 code, where I experiment with UV scrolling
unfortunatly it produces 0.99mb .exes so I cant include all files
and some other stuff
http://masm32.com/board/index.php?topic=6937.0
« Last Edit: April 22, 2018, 10:34:13 PM by daydreamer »
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*

daydreamer

  • Member
  • ****
  • Posts: 830
  • watch Chebyshev on the backside of the Moon
Re: old Javacode and some dx9code
« Reply #1 on: April 20, 2018, 10:46:40 PM »
it would be nice to evolve sphere made out of loads of halfcircles made with help of trigo LUT,where earliest version loaded a lowres texture 360x180, so angle used in sin/cos pointed to pixel in texture, and the last version had a 3600x1700 huge moonmaptexture
evolve it to instead make use of asm/dx vertices instead of pixels and ability to fly around moon,land on moon etc
would be nice to make some glassbreaking pixelshader, instead of Java when you shoot or walk thru a window
one or more 3d file format loader in asm
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*

LordAdef

  • Member
  • ****
  • Posts: 642
Re: old Javacode and some dx9code
« Reply #2 on: April 22, 2018, 02:17:19 PM »
You've got a very clear and clean asm style!

And I also like your text formatting, very clear to understand it

daydreamer

  • Member
  • ****
  • Posts: 830
  • watch Chebyshev on the backside of the Moon
Re: old Javacode and some dx9code
« Reply #3 on: March 22, 2019, 04:30:47 AM »
thanks
just started with this:

Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*

daydreamer

  • Member
  • ****
  • Posts: 830
  • watch Chebyshev on the backside of the Moon
my 99% asm project,the rest you can C :)
« Reply #4 on: May 19, 2019, 01:08:19 AM »
what is useful is to work in an IDE and work on many separate source files for PROC's,tested only with some printouts in a main console test app

maybe useful for many should be 3dmodels in vertexbuffer format in separate source files?
maybe also useful to go thru lot of pics and turn them into .dds files with alpha channel,so all you need is to put them on a quad triangle pointing inward center of screen(test some pics)

maybe it would be useful to start a thread about algorithm/math based optimizations,the advantage it works in Tiny C also or whatever nonassembly language that floats your boat and can be further optimized with assembly also?

maybe try to make hardware accelerated tunnel inspired by Carlos or better fly thru canyon code than earlier?
 
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*

daydreamer

  • Member
  • ****
  • Posts: 830
  • watch Chebyshev on the backside of the Moon
Re: old Javacode and some dx9code
« Reply #5 on: June 29, 2019, 08:45:46 PM »
maybe todo,octree looks interesting
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*