Forum Replies Created
-
AuthorPosts
-
This code in development (super smooth mojo) adds some simple grid lines using rectangles with big fat alpha 0 gutters in an attempt at sub pixel scrolling.
Attachments:
on posix, even yuckier
on windows that would be getch() from conio.h
Ignoring the Emscripten / Wasm web targets the ONLY module in monkey2 I am aware of that is not fully cross platform is the lack of windows support for the httprequest module.
Hopefully some native code using wininet / HttpSendRequest should fix this hole in due course.
I suspect you may need a screen buffer handle using CreateConsoleScreenBuffer, check this example:
I recently updated to stretch on my pi and rebuilt monkey2 1.1.09
with latest raspbian “stretch” toolchain from here http://gnutoolchains.com/ raspberry/
and setting this in my system environment MX2_AS_OPTS_RASPBIAN=- mfpu=vfp
I just now modified src/mc2/buildproduct.monkey2[310] (untested)
Monkey1234567Case "gcc"Local toolchain:=opts.target#If __HOSTOS__="raspbian"if toolchain="raspbian" then toolchain="gcc"#EndifSelect toolchainrebuildmx2cc.bat
rebuildmx2cc_raspbian.bat
the low level fiber code has not been tested and i want to test this issue
https://github.com/blitz-research/monkey2/issues/17
I also had plans to wrap V4L2 and got the basics working on my raspberry pi.
It was certainly an educational exercise.
https://github.com/nitrologic/m2/tree/master/vhost
January 19, 2018 at 9:30 pm in reply to: derived class as argument for base class and other rules for inheritance #13041Shouldn’t the downcasting on line 26 be an error?
Totally awesome!
I personally think the “Documentation and Help” tab title is overly explicit and changing it to Docs wouldn’t hurt.
IMHO it is traditional in 2D computer graphics that Y is down not up and hence your trig should read cos,-sin not cos,sin.
I got round this issue by creating a parentless entity (not a model) which I called hidden.
By parenting any models I didn’t want in the scene to this entity they became hidden and then could be used for templates and the like.
according to this a call to btCollisionObject::activate() might be needed to get the behavior you are after
According to the internet no.
However decorating of placeholder nodes and materials at run time using application defined naming rules should be possible.
Mojo3D currently strips names from materials so I got stuck with my first implementation of such a technique yesterday.
I have been wondering about using gltf for material only files.
OK, cool this duckmaterials.gltf is apparently legal:
JavaScript123456789101112131415161718192021222324252627282930313233343536373839404142434445{"asset": {"generator": "COLLADA2GLTF","version": "2.0"},"scene": 0,"scenes": [{}],"materials": [{"pbrMetallicRoughness": {"baseColorTexture": {"index": 0}},"emissiveFactor": [0.0,0.0,0.0]}],"textures": [{"sampler": 0,"source": 0}],"images": [{"uri": "DuckCM.png"}],"samplers": [{"magFilter": 9729,"minFilter": 9986,"wrapS": 10497,"wrapT": 10497}]} -
AuthorPosts
