Kuribo64
Views: 19,852,824 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-28-24 11:11 PM
Guest:

0 users reading SMG RUN: The first proper trailer! :O | 1 bot

Main - Misc. ROM hacking - SMG RUN: The first proper trailer! :O Hide post layouts | New reply

Pages: 1 2 3 4 5 6 ... 9 10 11 12 13
pacmainia&luigi
Posted on 03-29-17 07:41 PM (rev. 2 of 03-29-17 07:43 PM) Link | #82195
Posted by Super Hackio
On a more serious note:
LIGHTING
Do we know how to use lighting and stuff to make the textures NOT look the same way? EX: Shadows. maybe...

Might be using vertex colors. super mario sunshine used vertex color to simulate shadows. Unfortunately, BMDview2 can't export vertex colors, so finding out may be difficult.

____________________
Waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka.........

natnew
Posted on 03-29-17 08:59 PM Link | #82196
Posted by Super Hackio
O_0 ok then...

Create 5 textures for each texture, each with a different level of lighting (Numbered 1-5. 5 being the brightest)
Place the textures with precision in their spots.


But don't include the ones you didn't end up using, if you need to.

____________________

[image][image][image]

Super Hackio
Posted on 03-29-17 11:20 PM Link | #82197



Posted by pacmainia&luigi
Might be using vertex colors. super mario sunshine used vertex color to simulate shadows. Unfortunately, BMDview2 can't export vertex colors, so finding out may be difficult.

Vertex colors... Will look into that.
Posted by natnew
But don't include the ones you didn't end up using, if you need to.

I knew that. :P

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Splitwirez
Posted on 03-30-17 04:14 PM (rev. 2 of 03-30-17 04:15 PM) Link | #82212
Super Hackio, you need a specific 3rd-party OBJ exporter and a specific version of obj2bdl to get vertex colours from Blender onto your models ingame. I'll see if I can dig up some details or something when I get home.

Super Hackio
Posted on 03-30-17 09:22 PM Link | #82219



Posted by Splitwirez
Super Hackio, you need a specific 3rd-party OBJ exporter and a specific version of obj2bdl to get vertex colours from Blender onto your models ingame. I'll see if I can dig up some details or something when I get home.

Excellent! Also, What about GSL shaders? ya know, when you press G in BMDveiw2 and the model looks different? is that also vertex colors?

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Super Hackio
Posted on 03-31-17 07:12 PM (rev. 2 of 04-01-17 05:31 PM) Link | #82229



I just kinda relized this now, but...

SHADOWS THAT ARE OUTSIDE ARE THE SAME SHADE! XD

So, in that case, there will only be a need for 1 extra texture. So that saves me some work.

Progress report:
Spiral Field: 43% Overall Completetion
Model 76% Complete
Star 1 99% Complete
Star 2 43% Complete
Star 3 1% Complete
Green stars 100% Complete

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Super Hackio
Posted on 04-01-17 02:27 AM (rev. 2 of 04-01-17 03:58 AM) Link | #82243



Time for another Video!


Edit: THIS GALAXY HAS BEEN COMPLETE! :D

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Super Hackio
Posted on 04-01-17 05:54 PM Link | #82250



This guy (and whoever helped him) could be the answer to our little vertex issue
https://kuribo64.net/board/thread.php?id=1610&page=9#52945

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Splitwirez
Posted on 04-01-17 08:46 PM Link | #82252
Posted by Super Hackio
This guy (and whoever helped him) could be the answer to our little vertex issue
https://kuribo64.net/board/thread.php?id=1610&page=9#52945

Better idea: https://mega.nz/#!pFhwwCqY!tj1WWpRW7PPoPFDC2ART-MUBsuIZyCQyhBMKhoj5AjU
Contains the correct obj2bdl version and extended obj exporter addon for Blender, to get vertex colours from Blender to SMG2. I have no idea which version of obj2bdl this is (other than that it works for this), and no recollection of where I got either of those, so I was unable to track down the original links, but I can say they're not mine and they do the job.

Super Hackio
Posted on 04-01-17 09:06 PM Link | #82254



Many thanks to you Splitwirez!

I shall test this out!

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Super Hackio
Posted on 04-01-17 10:24 PM Link | #82255



Tested it.

RESULTS:

OBJ2BDL - Falure
Traceback (most recent call last):
File "obj2bdl.py", line 169, in
textures.append(j3d.tex1.Texture(os.path.join(base_directory,mesh.texture_filename)))
File "C:\Users\SUPERHACKIO\Desktop\ROMS\SMG 1-2\BDL CONVERSION\obj2bdl\j3d\tex1.py", line 46, in __init__
raise Exception('could not load image {}'.format(filename))
Exception: could not load image C:\\Users\\SUPERHACKIO\\Desktop\\Projects\\Blender\\SMG

OBJ2BDL-nrm - Failure
Traceback (most recent call last):
File "obj2bdl.py", line 76, in
v,vt = args.split('/')[0:2]
ValueError: need more than 1 value to unpack

Were off to a great start... (sarcasm)

So, what has happened here?

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Splitwirez
Posted on 04-01-17 10:58 PM Link | #82257
Yeah you have to use relative paths for textures in Blender and copy the textures to the Python folder along with the obj file. Also I've had issues with spaces in paths/names...

Super Hackio
Posted on 04-01-17 11:09 PM Link | #82258



Posted by Splitwirez
Yeah you have to use relative paths for textures in Blender and copy the textures to the Python folder along with the obj file. Also I've had issues with spaces in paths/names...

Who what now? Relative paths?
.______.

like C:place\obj is where the model is and C:place\obj\model is the model, and C:place\obj\MTL is the material. Under normal circumstances, there is also a folder called model_textures. Is that what is missing? will I have to by hand copy the materials? If so, where are they (likely) to be?

SO MANY QUESTIONS! XD
Sorry


____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Splitwirez
Posted on 04-02-17 12:05 AM Link | #82260
So if your Blender project is saved to "C:\Normal_Stuff\SMG\Potato.blend" and your texture is at "C:\Normal_Stuff\SMG\Potato\Potato.png", the relative path would be "//Potato\Potato.png". You'd want to use that path, export the extended obj file to "C:\Normal_Stuff\SML\Potato.obj", and copy both "Potato.obj" and the "Potato" folder to your python folder, along with the obj2bdl folder, before finally actually using the included obj2bdl.

Atleast, that's how I remember it. My god I'm out of practice...

Super Hackio
Posted on 04-02-17 12:07 AM (rev. 2 of 04-02-17 12:22 AM) Link | #82261



OMG!!

IT WORKED!!!! NO CONVERSION ERRORS!


Now we just have to see it in-game :P

EDIT: the face that was painted is just white. .__. Do I have to bake it or something?

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Super Hackio
Posted on 04-02-17 03:14 PM Link | #82265



I found this thread here: https://kuribo64.net/board/thread.php?id=1782#50534
Slacker Explained a lot. So Ill mess with blender and see what happens.

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Super Hackio
Posted on 04-02-17 04:25 PM (rev. 2 of 04-02-17 04:25 PM) Link | #82266



Think I've figured it out now:
[image]
These simple cubes have no collision, but no assigned texture. VERTEX COLORS BABY!!
[image]
(Sneak peek at Crossovers Galaxy In the background. :P)

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Splitwirez
Posted on 04-02-17 08:51 PM Link | #82274
Oh good, it worked :V

Super Hackio
Posted on 04-02-17 09:16 PM Link | #82276



I still have to figure out the kinks and looks, but yeah!

If there is no tutorial already, I shall be the one to make it!

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

mustafa
Posted on 04-04-17 06:24 PM Link | #82302
I used to make custom 3d land levels.. I dont know if the same program can be used... But i show how to shade in 3d maya..
Pages: 1 2 3 4 5 6 ... 9 10 11 12 13

Main - Misc. ROM hacking - SMG RUN: The first proper trailer! :O Hide post layouts | New reply

Page rendered in 0.036 seconds. (2048KB of memory used)
MySQL - queries: 30, rows: 238/238, time: 0.012 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.