zester wrote:

This was what I was able to do in just a few minutes with the image above.

https://lh4.googleusercontent.com/-9fq5at4ka4Q/UmfpCxmynwI/AAAAAAAABvc/rx1VlKCWOwE/w987-h356-no/mattetest.png

I used Sketchup's Match Photo to get a similar effect. It projects an image onto a 3d model that is modeled from the actual photo. I got a bit of distortion because of the way the photo was taken. but I just made up the rest of the model. I think I took a photo of it. If I did, I will post it.


https://sites.google.com/site/maratisfiles/files/Screenshot%20%28819%29.png

302

(10 replies, posted in General)

Zester, guy, those are GREAT! They look like that model I used in that car level I posted. Have you checked that one out? You can easily substitute these in for that model

One thing I would suggest is that you make the wheels separate from the chassis (that is an issue i have with my level right now).

Another question, are these just primitives moved into position or are they one piece? If they aren't you just gave me an idea. You can make them on piece using the MeshMixer software (now I see a use for it!).

303

(6 replies, posted in Tutorials/Examples)

I tried to add the OOP tutorial to the wiki. A table of contents didn't show up however. Could you check it out to see if I did it correctly? Here is the link:

http://wiki.maratis3d.org/index.php?tit … in_Maratis

304

(6 replies, posted in Tutorials/Examples)

Thanks. I got it. Going to try to redo this one on the wiki.

305

(6 replies, posted in Tutorials/Examples)

I have an account now? Cool! I will move these posts there. I was waiting on a response. Thanks 255

306

(6 replies, posted in Tutorials/Examples)

Programming is not a school subject you have to pass in order to graduate, but if we treat it as one and learn it the way a high school education system would teach it, we could get better standards for programming. It is good to have standards.

People have different conventions for naming variables or plain structuring code. I am a layman so I try to keep it simple.

An APPLE is a FRUIT. Therefore an apple belongs to the class of FRUIT:

class Fruit()

apple = Fruit()

One way to name a class is as a TYPE of something. An apple is a TYPE of fruit. Apple is the instance. Fruit is the class.

Another way to name a class is as a SUBJECT.

In Math class you learn math.

class Math()

calculus = Math()

But this is incomplete if you don't have a good convention for naming variables and functions so as to distinguish them from class names or one another without checking the camel's back.

Variables are nouns
Functions are verbs.

Functions should be names as ACTIONS. If you want to quit a game:

function QuitGame()

If you want to start a game:

function StartGame() 

I also have a standard for booleans. I name booleans as PARTICIPLES and as ADVERBS:

walking = false

if walking then
end

quickly = false

if walking and quickly then

end

For people who name variables with underscores it is best to put NOUNS BEFORE ADJECTIVES as it makes similar variables easier to spot in the code:

apple_red =
apple_green =

boy_mexican =
boy_african_american =
boy_caucasian =
boy_indian =
boy_chinese =

If I want to find a "boy" I can find it easier this way.

Underscores also make things easier to read for me (I used to not understand why people did it).

Anyhow, having standards like these will make code flow better, and keep variable names or class names or function names from getting mixed up.

One more thing, It is good to be SPECIFIC yet BRIEF in your naming. For example if you have a person class:

class Person()

And you create an instance:

joey = Person()

Then you make joey do "Person" stuff:

joey:Speak()
joey:Walk(quickly)

This is already specific to JOEY since it uses classes, so your wording shouldn't get mixed up.

However, if it were just a function outside of a class:

Walk()

Then it leaves the questions:

Who or what is walking?
Walk where?
Walking how?

You could do this instead:

WalkFast()
WalkSlow()
WalkLikeYouBrokeYourLeg()

Functions should start with a captical letter and camel-case for each new word
variables start with a lower case letter and camel-case for each new word.

Whether you use underscores or not is up to you. But the two standards above are general for every programming language (at least how schools would teach you).

Writers can write however they want in their journals, but when it comes to writing a research paper, there are standards. Hopefully this helps.

307

(16 replies, posted in Showcase)

Testing out normal maps and ambient occlusion (Image 27).

This is a quick tutorial on how to get an animated object into Maratis:

https://sites.google.com/site/maratisfi … 20TUT1.pdf

309

(6 replies, posted in External Tools)

zester wrote:
Tutorial Doctor wrote:

I applied a video texture to a plane, and it shows up and animates in Blender, but it does not show up in Maratis.

It could be that I haven't somehow actually rendered the video to a texture or something (Blender is starting to really annoy me) and I can't find the right help online.

Had anyone done this with Maratis yet? Or know how? It just shows up as BLACK.

Maratis doesn't support rendering videos to textures, only texture animation like a flipbook.

Does it support image sequences? Like in your example of the smoke? How would you get that smoke into maratis since maratis only supports bone/rig animation and not particle animations?

310

(2 replies, posted in Tutorials/Examples)

I have used this to clone an animated character! I had remembered that I had downloaded this (was trying to use particle system).

I need to see how it works.

311

(6 replies, posted in General)

I am wondering if I could use this particle system with Maratis's constraints to create multiple characters.

Edit: I was able to use it with a 3d object! now for an animated one!

I applied a video texture to a plane, and it shows up and animates in Blender, but it does not show up in Maratis.

It could be that I haven't somehow actually rendered the video to a texture or something (Blender is starting to really annoy me) and I can't find the right help online.

Had anyone done this with Maratis yet? Or know how? It just shows up as BLACK.

313

(7 replies, posted in General)

I have completely scratched this method for making clothes. It would be best to just get Marvelous Designer, although it cost so much.

I just created a faster way to model clothes. I will make a tutorial soon. Perhaps tonight.

314

(10 replies, posted in External Tools)

Hey! I found a software for PC that make trees and exports them as 3d files. I am testing it right now:
Tree[d]
http://www.frecle.net/index.php?show=treed.about

Edit: IT'S GREAT! You can use your own textures! Blender doesn't handle the textures off the bat for OBJ files. I will keep testing it.

315

(10 replies, posted in External Tools)

Here is a Test Tree.

Exported the base and the cluster separately and decimated them separately. Rotated them around a bit. The file is only 45kb.

Decimated the cluster down to.2 and the base down to .5 (gets weird below .5)

Download:
https://sites.google.com/site/aasfsfasa … stTree.zip

I still want to be able to do a 3d tree for a central focus object. I have an idea for a little mini game involving a tree.

316

(10 replies, posted in External Tools)

This app has a lot of features that I haven't messed with yet, I will see what it can do. I was thinking about just exporting a branch. Branches are hard to create anyhow. Then export a batch of leaves. Decimate them separately Then assemble them however. Even that seems too much though. We will see.

Yup, that will do it!

I just will export clusters of branches. They can be decimated down to .2 comfortably and then you can just duplicate and rotate. Or you can use Blender's particle system. 1 Branch came down to 52 faces

317

(10 replies, posted in External Tools)

Yikes! haha. Wow. I hadn't checked the objs yet. No wonder the latest file I was going to upload was 88mb haha. I am going to see how well it decimates.

Well, decimation down to .1 shreds it so smithereens. I could lower the density in the app, but then it would limit how it can be used.

Even though the leaves are just flat planes, there are a bunch of em. I will think of a way to get them game ready.

318

(10 replies, posted in External Tools)

These trees were generated using the TREE SKETCH 3.0 app for iPad. ITS FREE!

These files come with an obj and mtl file of the full tree, png files for the textures used for the tree, and an svg file. This app can even export armatures. wow.

RED BOW (Not mine, but I have some coming):
PunBB bbcode test
Download(9mb):
https://sites.google.com/site/aasfsfasa … Redbow.zip

Christmas(nm):
PunBB bbcode test
Download(13mb):
https://sites.google.com/site/aasfsfasa … mas%20.zip

RainForest
PunBB bbcode test
Download(13mb):
https://sites.google.com/site/aasfsfasa … forest.zip

These files get pretty big, so that is all I can upload right now. hehe. I might have to switch to PNG files only, but they can go as high as 2048x2048

Here is one in maratis. I used the IMAGE AS PLANES plugin to get it into Blender. I then exported with a NONE blend mode. Made sure under TRANSPARENCY alpha was set to 1
PunBB bbcode test


I just found a software for PC that is pretty good for generating 3d trees:
http://www.frecle.net/index.php?show=treed.about

319

(29 replies, posted in General)

Already beat yah to it! I just got home. It is so easy to do I was looking at trees and thinking, ''Yup, Tree Sketch can do it." haha.

I made a tree that looks like a heart. haha.

320

(7 replies, posted in Scripting)

ugh! I was sure that would work, but now it doesn't both animations again, just loops one. I will go to another project for now, maybe it will come to me. Thanks com3D.

321

(29 replies, posted in General)

Zester, I found an iPad app today that is priceless when making trees. It is a procedural tree generation app that is ACTUALLY GOOD and FLEXIBLE. It exports to a zip file that includes a .obj and .mtl file of the tree with leaves of fruit if you add them. The leaves are planes with texture and alpha. It also includes the leaf image and the bark image. It is LOADED. And best of all it is FREE!

p.s. comes with an SVG file also!

Tree Sketch 3.0
https://itunes.apple.com/us/app/treesketch/id421230117

322

(14 replies, posted in General)

I think I posted on here some time ago, a link to a tutorial called "Woodland..." something. He used Blender to create a scene of the woods. In that tutorial he showed how to get rid of seams. I found it if you wanna check it out. It is pretty long though:
http://www.youtube.com/watch?v=uAvG2E7p_W8

323

(6 replies, posted in General)

I agree 255 mechanics are very important. There was a similar post about this on gamedev.net. I put mechanics at # 2  after concept/idea.

Good point about re-usable scripts Zester. That is why I made the customizable game script. All I have to do to get things working is to drop that in the scripts folder, change one variable and WAM! Only time I have to script again is if I want a new feature, but I script it in a way that I can use it again.

One thing I see is that we have the same tasks. My original reason for trying Maratis is to test my idea on a Game that makes games. That makes making things Like the GUI or the ASSETS really easy. Even the programming.

It's more of a GDK (Game development kit). It can be adapted to any programming language or any 3d modeling package. I have the idea down, but the skill is sorta over my head.

Vegas, I just used dofile for the first time a few days ago. It really makes the code neater (I think I was past 300 lines of code).

I GOT AN IDEA!!!

Why don't we make a collection of LIBRARIES for maratis!! Of course, it would be nice to have them use object oriented programming. Once I convert my customizable game script to OOP I will post it as a library.

324

(14 replies, posted in General)

I forgot all about that. There was a post that fixed it (It was broken before, kept crashing Maratis, I need to look back at that again now that I am a little better at Lua and Maratis) Thanks.

325

(11 replies, posted in Gossip)

For those of you who have an iPad, you don't want to miss what I just added to the list. Check under IPAD APPS.