#21
Posted 14 June 2016 - 01:36 PM
#23
Posted 14 June 2016 - 03:00 PM
Xelostar, on 14 June 2016 - 12:36 PM, said:
I advise you to wait until I release my API. Then you can use it to draw what people are creating.
Well, it still is hard to create a program for creating models...
Maybe you can make it so that the user can click somewhere on the screen (2d) and then give a height value to that point. Later the user can connect these points to draw lines. I wish you a lot of succes!
Yeah I was thinking about that, I could make it next month, since I have to do exams starting monday and it is getting hectic for me, I need to spend my time on revision etc. I know exactly how I'm going to do it, I'll just need some time, also could you specify the dimensions of the model?
#24
Posted 14 June 2016 - 03:33 PM
unnamedcoder, on 14 June 2016 - 03:00 PM, said:
Xelostar, on 14 June 2016 - 12:36 PM, said:
I advise you to wait until I release my API. Then you can use it to draw what people are creating.
Well, it still is hard to create a program for creating models...
Maybe you can make it so that the user can click somewhere on the screen (2d) and then give a height value to that point. Later the user can connect these points to draw lines. I wish you a lot of succes!
Yeah I was thinking about that, I could make it next month, since I have to do exams starting monday and it is getting hectic for me, I need to spend my time on revision etc. I know exactly how I'm going to do it, I'll just need some time, also could you specify the dimensions of the model?
Awesome! Take your time!
If you mean that x and z are length and width and that y is the height, jsut like in minecraft, then here is your answer.
If you mean how big it shoud be:
from (-0.5, -0.5, -0.5) to (0.5, 0.5, 0.5) would be great!
Edited by Xelostar, 14 June 2016 - 03:34 PM.
#25
Posted 16 June 2016 - 03:12 PM
Xelostar, on 14 June 2016 - 03:33 PM, said:
unnamedcoder, on 14 June 2016 - 03:00 PM, said:
Xelostar, on 14 June 2016 - 12:36 PM, said:
I advise you to wait until I release my API. Then you can use it to draw what people are creating.
Well, it still is hard to create a program for creating models...
Maybe you can make it so that the user can click somewhere on the screen (2d) and then give a height value to that point. Later the user can connect these points to draw lines. I wish you a lot of succes!
Yeah I was thinking about that, I could make it next month, since I have to do exams starting monday and it is getting hectic for me, I need to spend my time on revision etc. I know exactly how I'm going to do it, I'll just need some time, also could you specify the dimensions of the model?
Awesome! Take your time!
If you mean that x and z are length and width and that y is the height, jsut like in minecraft, then here is your answer.
If you mean how big it shoud be:
from (-0.5, -0.5, -0.5) to (0.5, 0.5, 0.5) would be great!
Sorry for the messy handwriting
#26
Posted 16 June 2016 - 07:32 PM
unnamedcoder, on 16 June 2016 - 03:12 PM, said:
Xelostar, on 14 June 2016 - 03:33 PM, said:
unnamedcoder, on 14 June 2016 - 03:00 PM, said:
Xelostar, on 14 June 2016 - 12:36 PM, said:
I advise you to wait until I release my API. Then you can use it to draw what people are creating.
Well, it still is hard to create a program for creating models...
Maybe you can make it so that the user can click somewhere on the screen (2d) and then give a height value to that point. Later the user can connect these points to draw lines. I wish you a lot of succes!
Yeah I was thinking about that, I could make it next month, since I have to do exams starting monday and it is getting hectic for me, I need to spend my time on revision etc. I know exactly how I'm going to do it, I'll just need some time, also could you specify the dimensions of the model?
Awesome! Take your time!
If you mean that x and z are length and width and that y is the height, jsut like in minecraft, then here is your answer.
If you mean how big it shoud be:
from (-0.5, -0.5, -0.5) to (0.5, 0.5, 0.5) would be great!
Sorry for the messy handwriting
Looks promising! I want the model to be a 1 by 1 by 1. For other sizes, I will probably add a rotation and a size value. :-)
Can you make the "drawing space" a 10 by 10? That would be useful. I will probably upload by API tomorrow.
#27
Posted 16 June 2016 - 08:14 PM
Xelostar, on 16 June 2016 - 07:32 PM, said:
Can you make the "drawing space" a 10 by 10? That would be useful. I will probably upload by API tomorrow.
Sure, 10 by 10, I won't be able to make this until the 7th of July, so unless u wanna make it, go ahead
#28
Posted 18 June 2016 - 12:27 AM
#29
Posted 18 June 2016 - 06:46 AM
unnamedcoder, on 16 June 2016 - 08:14 PM, said:
Xelostar, on 16 June 2016 - 07:32 PM, said:
Can you make the "drawing space" a 10 by 10? That would be useful. I will probably upload by API tomorrow.
Sure, 10 by 10, I won't be able to make this until the 7th of July, so unless u wanna make it, go ahead
I have got all the time! :-)
jv110, on 18 June 2016 - 12:27 AM, said:
Yes, you can help. It is indeed not the same. I have already looked into it and I know how I would add the abillity for filled faces. Textures would be really hard though. Also it would be very slow if many textures are rendered. If you can pull that off and you have the time, I think it's OK. Do it if you really want to help. If you create a filled faces API, could you create a function like:
function drawFilledFace(face) --or something like that ... endWhere face is something like this:
face = { color = colors.red, coordinates = { {x = 10, y = 8}, {x = 10, y = 10}, {x = 20, y = 18}, {x = 15, y = 8}, }, }If it doesn't work out, I can do it. :-)
#30
Posted 18 June 2016 - 06:49 AM
Xelostar, on 18 June 2016 - 06:46 AM, said:
Not to intrude or anything, but a good way of storing faces (in my experience) is to just reference vertices, it cuts down on memory and redundancy.
This looks really nice though! Can't wait to see what it turns into!
#31
Posted 18 June 2016 - 07:08 AM
Incinirate, on 18 June 2016 - 06:49 AM, said:
I have thought of an algorithm. I don't really know what you mean with reference verticles. Can you send me a link? I also just noticed that there is a GPU API. It seems to be work-in-progres, though. Anyway, thank you for your compliment!
#32
Posted 18 June 2016 - 07:12 AM
Xelostar, on 18 June 2016 - 07:08 AM, said:
Sorry, should have been a little more explicit, what I meant is, that since you already have defined vertices for drawing lines to create objects, you can reference 3/4 of them to create a triange/quad respectively. For example:
vert1 = {0,0,0} vert2 = {1,0,0} vert3 = {0,1,0} face = {vert1,vert2,vert3}You then have all the information to draw a triangle in face, you can easily change it to work with quadrilaterals as well.
#33
Posted 18 June 2016 - 11:43 AM
Incinirate, on 18 June 2016 - 07:12 AM, said:
vert1 = {0,0,0} vert2 = {1,0,0} vert3 = {0,1,0} face = {vert1,vert2,vert3}You then have all the information to draw a triangle in face, you can easily change it to work with quadrilaterals as well.
face = { {0,0,0}, {1,0,0}, {0,1,0} }
Edited by unnamedcoder, 18 June 2016 - 11:44 AM.
#34
Posted 19 June 2016 - 06:06 AM
#36
Posted 19 May 2017 - 02:08 PM
[url="https://www.youtube.com/watch?v=-zEXvgoZhLs"]https://www.youtube.com/watch?v=Sc_2kFtxfdQ[/url] [media]http://www.youtube.com/watch?v=Sc_2kFtxfdQ[/media]
You probably want:
http://www.youtube.com/watch?v=-zEXvgoZhLs http://www.youtube.com/watch?v=Sc_2kFtxfdQ
Note that the rich-text editor is not your friend. Use the light switch up the top left of the posting dialogue box in order to toggle it.
#37
Posted 26 May 2017 - 12:35 AM
#38
Posted 03 June 2017 - 10:00 PM
Bomb Bloke, on 19 May 2017 - 02:08 PM, said:
[url="https://www.youtube.com/watch?v=-zEXvgoZhLs"]https://www.youtube.com/watch?v=Sc_2kFtxfdQ[/url] [media]http://www.youtube.com/watch?v=Sc_2kFtxfdQ[/media]
You probably want:
http://www.youtube.com/watch?v=-zEXvgoZhLs http://www.youtube.com/watch?v=Sc_2kFtxfdQ
Note that the rich-text editor is not your friend. Use the light switch up the top left of the posting dialogue box in order to toggle it.
It's working now. I'm certain I said that before, but I cant seem to find the post. :/
Thanks for your help!
Tag365, on 26 May 2017 - 12:35 AM, said:
Because I didn't know why it's better to turn it off.
Edited by Xelostar, 03 June 2017 - 10:00 PM.
#39
Posted 01 September 2017 - 06:50 PM
#40
Posted 01 September 2017 - 07:21 PM
https://i.imgflip.com/1v3vwb.gif
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users