Jump to content




General Purpose 3D Renderer


50 replies to this topic

#21 Selim

  • Members
  • 189 posts
  • LocationHiding in Online Storage

Posted 05 January 2016 - 07:36 PM

That is quite impressive.

#22 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 05 January 2016 - 08:22 PM

cant wait to make a simple dungeon crawler with this, is there support for transparent textures? or transformed sprites, like the old doom?

#23 Yevano

  • Members
  • 376 posts
  • LocationUSA

Posted 05 January 2016 - 09:17 PM

View Postwilcomega, on 05 January 2016 - 08:22 PM, said:

is there support for transparent textures?

Not yet, but I'm sure it would not be very difficult to add.

View Postwilcomega, on 05 January 2016 - 08:22 PM, said:

or transformed sprites, like the old doom?

Do you mean how the sprite should change based on an enemies angle in relation to the camera? There is no direct support for this, however it would not be hard to implement yourself, I think.

#24 zguystudios

  • Members
  • 9 posts

Posted 07 January 2016 - 09:42 PM

Lua DirectX?
LuaX maybe.
LuaDX?
LDX???
Truth be told, this is nothing like DirectX. However, this is pretty cool. You should work on turning it into an API so people can make 3d-ish games!
>>L3D????<<

Edited by Lyqyd, 08 January 2016 - 01:03 AM.


#25 Creeper9207

  • Members
  • 211 posts

Posted 11 January 2016 - 05:15 AM

How many polygons can it handle on-screen?

#26 Yevano

  • Members
  • 376 posts
  • LocationUSA

Posted 11 January 2016 - 11:29 PM

View PostCreeper9207, on 11 January 2016 - 05:15 AM, said:

How many polygons can it handle on-screen?

You can have as many polygons on the screen as you want! But I can't promise it will be fast. The good news is that since polygons not in clip space need not be drawn, you can still have fairly large worlds without losing much performance. (So long as your clip space is sufficiently limited.)

#27 Quartz101

  • Members
  • 141 posts
  • Location/dev/nvme0n1

Posted 12 January 2016 - 11:10 AM

This would be even better if CC had mouse movement intergration!

#28 Creeper9207

  • Members
  • 211 posts

Posted 12 January 2016 - 11:08 PM

what i'm asking is, can it handle 173 polygons on-screen at a playable rate?

#29 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 18 January 2016 - 09:23 AM

wait until its released and try it yourself, if OP doesnt want to or has no time to test it then just wait

#30 Yevano

  • Members
  • 376 posts
  • LocationUSA

Posted 18 January 2016 - 05:01 PM

I've been out of town but I'll be back tomorrow and maybe I'll just release some dirty code so people can see how it works.

Edited by Yevano, 18 January 2016 - 05:09 PM.


#31 Creeper9207

  • Members
  • 211 posts

Posted 31 January 2016 - 06:41 AM

i have an awesome idea i wanna do with this =D

#32 Yevano

  • Members
  • 376 posts
  • LocationUSA

Posted 31 January 2016 - 09:50 PM

Just started messing around with this again and wrote code for hit detection.



#33 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 01 February 2016 - 01:29 AM

So next is a pickaxe, right? :)

#34 Yevano

  • Members
  • 376 posts
  • LocationUSA

Posted 01 February 2016 - 01:31 AM

View PostBomb Bloke, on 01 February 2016 - 01:29 AM, said:

So next is a pickaxe, right? :)

I think you have the right idea. :P

#35 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 01 February 2016 - 02:54 PM

Looks really cool, i still cant wait. Could you release a list of methods? to see how the interface would work.

#36 HDeffo

  • Members
  • 214 posts

Posted 06 February 2016 - 06:55 PM

I would kind of be interested to use the mojang skin servers, convert image format to CC, then use this program to display a player on a monitor. I feel like this is now entirely feasible and would look really impressive

#37 justync7

  • Members
  • 210 posts
  • LocationCLGD

Posted 08 February 2016 - 05:53 AM

View PostHDeffo, on 06 February 2016 - 06:55 PM, said:

I would kind of be interested to use the mojang skin servers, convert image format to CC, then use this program to display a player on a monitor. I feel like this is now entirely feasible and would look really impressive
The only issue with that would be interpreting the image. Due to the fs api in CC it makes it quite difficult to read standard file formats, unless someone made a website which allows you to grab skins compatible for CC to interpret.

Edited by justync7, 08 February 2016 - 05:53 AM.


#38 Anavrins

  • Members
  • 775 posts

Posted 08 February 2016 - 06:54 AM

View Postjustync7, on 08 February 2016 - 05:53 AM, said:

The only issue with that would be interpreting the image. Due to the fs api in CC it makes it quite difficult to read standard file formats, unless someone made a website which allows you to grab skins compatible for CC to interpret.
What do you mean, the fs api can read in binary mode to prevent any string bugs, and Bomb Bloke made a GIF decoder, so it's definitely possible.

#39 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 08 February 2016 - 08:02 AM

Two problems; skins aren't stored as GIFs, and there's no way to open binary-mode web handles in ComputerCraft.

Well, other than CC Tweaks, at least. I'm not sure how many servers run that though. Has that made its way into the mainline packs yet? I don't keep up with such things.

But yeah my API makes it fairly easy to load in most images. And because this topic is veering dangerously close to a secret I've been entirely neglecting to work on since... CC 1.74, I might as well spill the beans before someone else thinks of it:

Spoiler

Yeah, I'm already using my GIF API on skin files... only the way I see it, the world's got a bit more colour depth than a CC display. ;)/>

In fact, back when Yevano first posted this thread I messaged him about maybe providing me with some "rendering" code. The plan's to be produce a script which allows you to pose characters, and save the poses so they can be used along with other skins. Maybe even throw in WorldPorter functionality and save props alongside them (eg a giant chair to sit on or whatever) as well.

Edited by Bomb Bloke, 10 February 2016 - 11:21 PM.


#40 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 08 February 2016 - 03:15 PM

View PostYevano, on 31 January 2016 - 09:50 PM, said:

- snip -
Seems like Minecraft in Minecraft is becoming closer and closer to a reality

View PostBomb Bloke, on 08 February 2016 - 08:02 AM, said:

- snip -
How come you have so much time to create so many awesome things? I wish I wasn't lazy and dedicated more of my time to programming instead of sleeping and doing nothing :P





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users