I asked because I had one variable ShipAngleXY that was not working.
I changed it to ShipAnglexY and it works.
What is up with that?
Thanks @pac
I asked because I had one variable ShipAngleXY that was not working.
I changed it to ShipAnglexY and it works.
What is up with that?
Thanks @pac
I find it complicated to have all the 3D models just at the root of the Dropbox Codea folder
Is it possible to have Codea sub-folders in Dropbox and have them synced by Codea ?
because the 3D app I’m using exports all my models with the same name, and most annoyingly with the same “texture.png” name, so I would have to modify all the .mtl files and if I have a lot of 3D models it would be easier to import them in the game by following a path like “models/train/loco” rather than “loco-13” from the root
@threads there’s definitely an upgrade to this area planned. I’d like to move completely away from the current asset system (and remove explicit Dropbox integration) in favour of the iOS file picker.
Ok cool ! don’t worry, I find it fun to actually switch between apps to create models, unzip the obj files, put them in dropbox, import them in Codea … I feel like a pioneer and I want to prove that Codea is the future of iOS game development !
I’m building a 3D game with only my iPhone & iPad and find it more tricky but more exciting than I would if I was doing it with an all-in-one soft
But yes, some improvements for models imports would be great !
Thanks, and good luck !
That’s awesome, keep us updated on your progress!
What are you creating the models with? Are you doing those on iPad too?
I create 3D voxels models on my iphone or ipad with this cool app that can export to .obj but unfortunately not (yet) let me rename the files
(Here is an example of my models: https://twitter.com/0x6E69636F/status/1085824487109656577)
@threads very nice! In looking at voxel editors I also found this one https://itunes.apple.com/us/app/goxel-3d-voxel-editor/id1259097826?mt=8 which even lets you write and run scripts to procedurally generate models
Woah, cool! I didn’t find it because it doesn’t mention .obj export in its app description although it’s available if you unlock full version
I’ll give it a try !
Okay so I found lots of free .obj files and put them in my Dropbox so how do you get that object in?
Okay so one more thing I have a computer with 3ds Max any ideas of how I can move the files to my IPad.
@pac - what computer? And how are you connecting it to your iPad? Also where are you saving your files from 3DS Max?
Okay got it.
Can any one explain how to work with the Ar stuff.
Okay so I have been working on a project where I need to make a torus and and I have an idea about how to do that but I need to be able to get triangles so if you guys know how to get a triangle in craft.
Thanks Pac
You can make a torus with the 3DC.io app that you mentioned in another discussion.
I know that but the texture comes out wrong so if you could tell me how to change it to any color I want then I will just use that.
Thanks
@pac Try this. You can give the model a color using diffuse and a texture using map. The model (Dropbox:export) is the model exported from the app 3DC. Below is a model from 3DC that I used in this code.
displayMode(FULLSCREEN)
function setup()
-- use a model from 3DC.io
assert(OrbitViewer, "Please include Cameras (not Camera) as a dependency")
scene = craft.scene()
m = scene:entity()
m.model = craft.model("Dropbox:export")
m.material = craft.material("Materials:Specular")
m.material.diffuse=color(255,0,0)
m.material.map = readImage("Surfaces:Basic Bricks AO")
viewer = scene.camera:add(OrbitViewer, vec3(0), 600, 20, 2000)
viewer.camera.farPlane=3000
end
function update(dt)
scene:update(dt)
end
function draw()
update(DeltaTime)
scene:draw()
end
Thanks that works life saver YOU are.
Thanks pac