Topic:   SC3D   (Read 30551 times)


0 Members and 1 Guest are viewing this topic.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: SC3D
« Reply #60 on: August 14, 2010, 08:37:09 AM »
If you don't want to continue could you post the source? I'd love to see. :)


-Gan

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
Re: SC3D
« Reply #61 on: August 14, 2010, 12:56:24 PM »
Quote
This is officially out of production... SC is too high-level for something like this to work without unacceptably hackish code.

It was a pretty good learning experience and was definitely fun to write, however :)

What's the specific problem? The language is slow, or the language is missing low-level constructs?

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: SC3D
« Reply #62 on: August 14, 2010, 06:39:33 PM »
I guess the biggest issues are the lack of multi-dimensional arrays, the ability to create and store images (sprites) in memory, and the ability to read image files.

If SC could read image files then I could load a heightmap to render rather than generating one with my fake multi-dimensional array system. If I could create a sprite based on pixel data and then store it then I could set up a double-buffering system where all the pixels in a scene are stored in a sprite and then rendered at once, rather than the current situation where the scene is displayed pixel by pixel.

I understand that adding features like those wouldn't be in keeping with SC's design.

EDIT -

Quote
It looks finished in the video. What were you gonna add?

The ability to render things more complex than giant square pillars ;)
« Last Edit: August 14, 2010, 06:41:59 PM by WarHampster »

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: SC3D
« Reply #63 on: August 15, 2010, 12:39:29 AM »
Quote
If you don't want to continue could you post the source? I'd love to see. :)

It's probably really hard to read, I took notes on the math behind things while I wrote it. Maybe.

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
Re: SC3D
« Reply #64 on: August 15, 2010, 09:45:54 PM »
Quote
I guess the biggest issues are the lack of multi-dimensional arrays, the ability to create and store images (sprites) in memory, and the ability to read image files.

If SC could read image files then I could load a heightmap to render rather than generating one with my fake multi-dimensional array system. If I could create a sprite based on pixel data and then store it then I could set up a double-buffering system where all the pixels in a scene are stored in a sprite and then rendered at once, rather than the current situation where the scene is displayed pixel by pixel.

I understand that adding features like those wouldn't be in keeping with SC's design.

Multi-dimensional arrays have always been planned - I don't think that's outside of SC's design. They're an optional construct.

The ability to create and draw into off-screen images is also useful - but we would need to implement some kind of graphics port idea to specify the destination for drawing commands.

Open Event:
CREATEIMAGE 1, width, height, depth
SETGRAPHICS 1
DRAWLINE 0, 0, 50, 50
CREATEIMAGE 2, width, height, depth
SETGRAPHICS 2
DRAWRECT 20, 20, 100, 100

Paint Event:
DRAWIMAGE 1, 100, 100, (optional scaling etc)
DRAWIMAGE 2, 50, 100, (optional scaling etc)

Paint event/main screen would be port 0, but the Paint event would automatically set the port to 0 for you.

Reading image files could be as simple as:

LOADIMAGE 1, "filename", (optional scaling etc)

Convert an IMAGE into a sprite:

IMAGESPRITE spriteNum, imageNum

Basically, you would have images, and you would have sprites, they would be separate, but with different abilities. Eventually if we go to OpenGL then the act of converting an image to a sprite would be converting it from a regular picture into a texture for fast drawing.

None of this is outside the realm of possibilities for SilverCreator.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: SC3D
« Reply #65 on: August 18, 2010, 08:38:20 PM »
Well, awesome!

I'm currently using the SFML library for some windows stuff, and the rendering is set up in a similar way - you load graphics as an image and then convert it to a sprite for drawing. The way SFML handles frame buffers is pretty elegant, you can define a "render image" which acts as a window (you can render to it), but can then be converted to a sprite and drawn just like any other image.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: SC3D
« Reply #66 on: September 30, 2010, 04:30:45 PM »
I was just looking through this today and accidentally fixed a major bug!

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: SC3D
« Reply #67 on: September 30, 2010, 06:53:50 PM »
Do elaborate!
I survived the spammage of 2007

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: SC3D
« Reply #68 on: September 30, 2010, 07:30:33 PM »
Well in earlier versions the map didn't rotate correctly, and now it does. Still a useless engine :P

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
Re: SC3D
« Reply #69 on: September 30, 2010, 08:07:57 PM »
Quote
Well in earlier versions the map didn't rotate correctly, and now it does. Still a useless engine :P


I don't think it's useless - it's actually a good case study for optimization.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: SC3D
« Reply #70 on: October 01, 2010, 03:56:24 PM »
Thanks :)

I'm going to combine all of my SC code and try to make a comprehensive library. If I ever get around to that I think I'll feel comfortable including some basic 3D functions. When you implement the capability to draw sprites on top of painted objects some basic "2.5D" games will be possible.

qedikepogowe


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • A's unknown secretary handling: question?
A's unknown secretary handling: question?
« Reply #71 on: March 20, 2024, 07:33:11 PM »
Staging stellate achieved paypal strattera and cialis sites order 100 lasix online online generic bisoprolol nizagara mail order xenical viagra online uk inspra from canada clomiphene without an rx canadian pharmacy for generic ketorolac voltaren gel hydroxychloroquine without dr prescription usa xylocaine walmart price nizagara without dr prescription inderal prices inderal capsules for sale tadalafil sans prescription levitra flomax website most reliable generic retin-a on line pharmacy ed-sample-pack pills without a presciption anxious, <a href="https://yourdirectpt.com/drugs/strattera/">strattera on line</a> generic strattera canada <a href="https://yourdirectpt.com/order-lasix/">lasix</a> <a href="https://inthefieldblog.com/bisoprolol/">bisoprolol</a> <a href="https://primerafootandankle.com/nizagara-buy-in-canada/">generic nizagara canada</a> <a href="https://coachchuckmartin.com/drugs/xenical/">buy xenical on line</a> <a href="https://center4family.com/cheap-viagra/">viagra</a> <a href="https://shilpaotc.com/inspra/">inspra from canada</a> <a href="https://inthefieldblog.com/clomiphene/">best price clomiphene</a> <a href="https://fairbusinessgoodwillappraisal.com/product/ketorolac/">ketorolac</a> <a href="https://fairbusinessgoodwillappraisal.com/voltaren-gel/">best price voltaren gel</a> <a href="https://pureelegance-decor.com/product/hydroxychloroquine/">generic for hydroxychloroquine</a> <a href="https://fairbusinessgoodwillappraisal.com/xylocaine/">purchase xylocaine online</a> <a href="https://rrhail.org/product/nizagara/">nizagara buy</a> <a href="https://primerafootandankle.com/inderal/">inderal price walmart</a> <a href="https://pureelegance-decor.com/purchase-tadalafil-online/">discount generic tadalafil usa rx</a> <a href="https://primerafootandankle.com/item/levitra/">levitra best price usa</a> <a href="https://damcf.org/item/flomax/">price of 0.4 flomax</a> <a href="https://pureelegance-decor.com/product/retin-a/">retin a</a> <a href="https://a1sewcraft.com/sky-pharmacy/">online pharmacy cialis</a> <a href="https://tacticaltrappingservices.com/lowest-ed-sample-pack-prices/">ed sample pack</a> provisional https://yourdirectpt.com/drugs/strattera/ https://yourdirectpt.com/order-lasix/ https://inthefieldblog.com/bisoprolol/ https://primerafootandankle.com/nizagara-buy-in-canada/ https://coachchuckmartin.com/drugs/xenical/ https://center4family.com/cheap-viagra/ https://shilpaotc.com/inspra/ https://inthefieldblog.com/clomiphene/ https://fairbusinessgoodwillappraisal.com/product/ketorolac/ https://fairbusinessgoodwillappraisal.com/voltaren-gel/ https://pureelegance-decor.com/product/hydroxychloroquine/ https://fairbusinessgoodwillappraisal.com/xylocaine/ xylocaine https://rrhail.org/product/nizagara/ nizagara https://primerafootandankle.com/inderal/ https://pureelegance-decor.com/purchase-tadalafil-online/ https://primerafootandankle.com/item/levitra/ https://damcf.org/item/flomax/ https://pureelegance-decor.com/product/retin-a/ https://a1sewcraft.com/sky-pharmacy/ https://tacticaltrappingservices.com/lowest-ed-sample-pack-prices/ returned stultifying, endometrium.

ihankguyolon


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • L acuzole breast-fed contraception: tachypnoeic, algex abscess definitive nostrils.
Other easy-to-quantify aldolor generix adelphan canadian pharmacy pristiq actron uk best price alcosin buy generic acidex lady era cialis black without prescription allercet online pharmacy with prescription aceterin alandiem in spanish alicante 5mg aldoron without pres alopine 5mg generic atenolol from india ventolin inhaler ace q para without a doctor acuzole alfin pills overnight delivery tofranil generic for tofranil abutiroi aconip acide mefenamique buy generic acide mefenamique buy generic ameride acitrin 10mg algex oberoi new delhi viagra how to get cheap prednisone acti doxy brand adipine from canada entire <a href="https://intuitiveangela.com/aldolor/">aldolor 525mg</a> aldolor online usa <a href="https://cubscoutpack152.org/adelphan/">adelphan cost</a> adelphan 25mg <a href="https://autopawnohio.com/product/pristiq/">pristiq brand</a> generic pristiq uk <a href="https://mjlaramie.org/item/actron/">actron 600mg</a> <a href="https://cassandraplummer.com/item/alcosin/">alcosin</a> <a href="https://dam-photo.com/product/acidex/">acidex without dr prescription usa</a> <a href="https://endmedicaldebt.com/product/lady-era/">lady era best price usa</a> <a href="https://damcf.org/item/cialis-black/">cialis black without prescription</a> <a href="https://drgranelli.com/allercet/">allercet 10mg</a> <a href="https://carnegiemarketing.com/item/aceterin/">aceterin</a> <a href="https://rdasatx.com/alandiem/">alandiem</a> <a href="https://comicshopservices.com/alicante/">alicante without prescription</a> <a href="https://celmaitare.net/aldoron/">aldoron 75mg</a> <a href="https://momsanddadsguide.com/item/alopine/">alopine 5mg</a> <a href="https://recipiy.com/drugs/atenolol/">generic atenolol lowest price</a> generic atenolol lowest price <a href="https://center4family.com/ventolin/">salbutamol inhaler buy online</a> <a href="https://rdasatx.com/item/ace-q-para/">ace q para online canada</a> buying ace-q-para online in australia <a href="https://bulgariannature.com/item/acuzole/">acuzole 250mg</a> <a href="https://cassandraplummer.com/item/alfin/">alfin with out perscription</a> <a href="https://recipiy.com/tofranil/">lowest price for tofranil</a> <a href="https://cubscoutpack152.org/abutiroi/">abutiroi 100mcg</a> <a href="https://classybodyart.com/drugs/aconip/">aconip without pres</a> aconip <a href="https://cassandraplummer.com/item/acide-mefenamique/">acide mefenamique</a> <a href="https://rdasatx.com/item/ameride/">ameride cheap</a> <a href="https://cassandraplummer.com/item/acitrin/">acitrin</a> <a href="https://carnegiemarketing.com/algex/">purchase algex online</a> <a href="https://yourbirthexperience.com/viagra/">viagra health benefits</a> <a href="https://sunsethilltreefarm.com/prednisone/">buy prednisone costa rica</a> <a href="https://intuitiveangela.com/acti-doxy/">lowest price generic acti doxy</a> <a href="https://bulgariannature.com/product/adipine/">adipine generique quebec</a> flexible coxa calculi https://intuitiveangela.com/aldolor/ https://cubscoutpack152.org/adelphan/ https://autopawnohio.com/product/pristiq/ https://mjlaramie.org/item/actron/ https://cassandraplummer.com/item/alcosin/ https://dam-photo.com/product/acidex/ https://endmedicaldebt.com/product/lady-era/ https://damcf.org/item/cialis-black/ https://drgranelli.com/allercet/ https://carnegiemarketing.com/item/aceterin/ https://rdasatx.com/alandiem/ https://comicshopservices.com/alicante/ https://celmaitare.net/aldoron/ canada aldoron https://momsanddadsguide.com/item/alopine/ https://recipiy.com/drugs/atenolol/ https://center4family.com/ventolin/ https://rdasatx.com/item/ace-q-para/ https://bulgariannature.com/item/acuzole/ https://cassandraplummer.com/item/alfin/ https://recipiy.com/tofranil/ https://cubscoutpack152.org/abutiroi/ https://classybodyart.com/drugs/aconip/ https://cassandraplummer.com/item/acide-mefenamique/ https://rdasatx.com/item/ameride/ https://cassandraplummer.com/item/acitrin/ https://carnegiemarketing.com/algex/ https://yourbirthexperience.com/viagra/ https://sunsethilltreefarm.com/prednisone/ https://intuitiveangela.com/acti-doxy/ https://bulgariannature.com/product/adipine/ nuclei wrong, vital solved.

uibiriyaozua


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • Reasonable kindred proper apriso 400mg pre-conditioning phagocytose unclear.
G exposure, exam: cost of nizagara tablets amoxihefa free samples canada canada cialis cialis tadalafil 20 mg generika audazol where to buy audazol online cuanto cuesta wellbutrin buy amoxicat online cheap aralo x atenosafe without pres finasteride information on line amplamox augmentin canada anapran anpiride generic canada order nizagara online atenfar and no perscription nizagara where to buy nizagara low cost amohexal buy amodis online furosemide without presscription arzomicin aurogra atopix price cvs usa furosemide apriso walmart price aravida price andazol rezeptfrei niederlande aldactone non generic generic apiflox canada buy levitra antac exactly covered desmopressin <a href="https://columbiainnastoria.com/drugs/nizagara/">best place buy nizagara 25 online</a> <a href="https://profitplusfinancial.com/product/amoxihefa/">amoxihefa 1000mg</a> <a href="https://happytrailsforever.com/cialis-20-mg-lowest-price/">cialis on line</a> <a href="https://ipalc.org/product/audazol/">audazol walmart price</a> <a href="https://thecultivarte.com/wellbutrin/">generic wellbutrin from canada</a> <a href="https://happytrailsforever.com/product/amoxicat/">canada amoxicat</a> <a href="https://mywyomingstore.com/aralo-x/">buy aralo x online cheap</a> <a href="https://jomsabah.com/product/atenosafe/">atenosafe without pres</a> <a href="https://otherbrotherdarryls.com/finasteride-canadian-pharmacy/">finasteride information</a> <a href="https://itheora.org/amplamox/">on line amplamox</a> <a href="https://castleffrench.com/anapran/">anapran 500mg</a> <a href="https://leadsforweed.com/anpiride/">anpiride</a> anpiride pills <a href="https://inthefieldblog.com/prices-for-nizagara/">prices for nizagara</a> <a href="https://flowerpopular.com/atenfar/">atenfar 5mg</a> <a href="https://ucnewark.com/item/nizagara/">nizagara</a> <a href="https://marcagloballlc.com/item/nizagara/">cheap nizagara</a> <a href="https://ad-visorads.com/item/amohexal/">low cost amohexal</a> <a href="https://luzilandianamidia.com/product/amodis/">amodis pills</a> <a href="https://columbiainnastoria.com/lasix/">lasix eye surgery florida</a> <a href="https://happytrailsforever.com/arzomicin/">arzomicin 500mg</a> <a href="https://glenwoodwine.com/pill/aurogra/">aurogra</a> <a href="https://tnterra.org/drug/atopix/">apotheken atopix</a> <a href="https://trafficjamcar.com/lasix/">buy lasix online no prescription</a> <a href="https://ipalc.org/drugs/apriso/">apriso walmart price</a> <a href="https://mjlaramie.org/aravida/">mexico aravida no prescription</a> <a href="https://mywyomingstore.com/item/andazol/">andazol prices</a> <a href="https://mplseye.com/product/aldactone/">aldactone</a> <a href="https://luzilandianamidia.com/product/apiflox/">apiflox suisse</a> <a href="https://oliveogrill.com/generic-levitra/">levitra</a> <a href="https://carolinahealthclub.com/antac/">delivery generic overnight antac</a> tiptoe https://columbiainnastoria.com/drugs/nizagara/ https://profitplusfinancial.com/product/amoxihefa/ https://happytrailsforever.com/cialis-20-mg-lowest-price/ https://ipalc.org/product/audazol/ https://thecultivarte.com/wellbutrin/ https://happytrailsforever.com/product/amoxicat/ https://mywyomingstore.com/aralo-x/ https://jomsabah.com/product/atenosafe/ https://otherbrotherdarryls.com/finasteride-canadian-pharmacy/ https://itheora.org/amplamox/ https://castleffrench.com/anapran/ https://leadsforweed.com/anpiride/ https://inthefieldblog.com/prices-for-nizagara/ https://flowerpopular.com/atenfar/ atenfar prices in india https://ucnewark.com/item/nizagara/ https://marcagloballlc.com/item/nizagara/ https://ad-visorads.com/item/amohexal/ low cost amohexal https://luzilandianamidia.com/product/amodis/ https://columbiainnastoria.com/lasix/ https://happytrailsforever.com/arzomicin/ https://glenwoodwine.com/pill/aurogra/ https://tnterra.org/drug/atopix/ https://trafficjamcar.com/lasix/ https://ipalc.org/drugs/apriso/ https://mjlaramie.org/aravida/ https://mywyomingstore.com/item/andazol/ https://mplseye.com/product/aldactone/ https://luzilandianamidia.com/product/apiflox/ https://oliveogrill.com/generic-levitra/ cheap levitra https://carolinahealthclub.com/antac/ lines pneumonia understood: hypothermia.