Search found 941 matches
- 30 Apr 2023 11:53
- Forum: DOS Batch Forum
- Topic: DosBatch 3D Engine.
- Replies: 36
- Views: 35067
Re: DosBatch 3D Engine.
I added 2D clipping and made other adjustments. Unfortunately the cpu assigned to the process is sometimes minor, at least on my pc. So the calculation of cpu performance fails miserably. The behavior is random and I could not find a solution. ver. 0.1.1 : :::::::::::::::::::::::::::::::::::::::::::...
- 30 Apr 2023 03:50
- Forum: DOS Batch Forum
- Topic: DosBatch 3D Engine.
- Replies: 36
- Views: 35067
Re: DosBatch 3D Engine.
However, I am implementing 2D clipping to avoid problems. This line was supposed to work but evidently doesn't work
Code: Select all
set /a _cols-=2, _lines-=2
- 30 Apr 2023 03:40
- Forum: DOS Batch Forum
- Topic: DosBatch 3D Engine.
- Replies: 36
- Views: 35067
Re: DosBatch 3D Engine.
It's strange that you have created problems the radius at 160. It doesn't create it for me. It should also perform well on your pc. I would like to understand why there is this difference. The font should not be. I use 8x8 raster fonts. I'm racking my brains to understand what it can be. Can you giv...
- 29 Apr 2023 14:18
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 52822
Re: 256 colors in virtual terminal escape sequence
this is the color recalculated and it seems wrong search in part 1
I can't fix the error
.
Code: Select all
call :toColorTable 82 68 30 C
.
- 29 Apr 2023 13:12
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 52822
Re: 256 colors in virtual terminal escape sequence
I corrected the code but there is still a problem and I think it may be in the way I generate the new color or at the top of the colors from 1 to 16 (or 0 to 15) of the mapping you did. If i remove the part 1 the anomalies disappear This is the code of the cat that has those anomalies. @echo off & s...
- 29 Apr 2023 09:43
- Forum: DOS Batch Forum
- Topic: Stacker, A batch interpretation of the game.
- Replies: 8
- Views: 2984
Re: Stacker, A batch interpretation of the game.
For the moment it is working.
- 29 Apr 2023 09:31
- Forum: DOS Batch Forum
- Topic: DosBatch 3D Engine.
- Replies: 36
- Views: 35067
Re: DosBatch 3D Engine.
I made a mistake in asking for performance because I made the ball spin at different speeds by adapting the amount of points displayed. In the title of the window you see the FPS and the number of meridians drawn. What interests me is the number of meridians for the corresponding fps. Then launch th...
- 27 Apr 2023 20:18
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 52822
Re: 256 colors in virtual terminal escape sequence
the cat with correction
- 27 Apr 2023 19:23
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 52822
Re: 256 colors in virtual terminal escape sequence
I was thinking of a solution that I had anticipated in previous posts. Use a special character this: ▒ In terminal fonts it has half a pixel in foreground and half in the background. And it is omogenous. It is possible to mix evenly two colors among the 256 available (I did not count the double ones...
- 27 Apr 2023 18:41
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 52822
Re: 256 colors in virtual terminal escape sequence
Thanks penpen, I'm reading your explanation, it will take me a while to study it because you're far ahead of me. I saw that you used L defined as the average of the smallest color and the largest. i'm reading this https://en.wikipedia.org/wiki/HSL_and_HSV But wouldn't it have been better to average ...
- 27 Apr 2023 05:10
- Forum: DOS Batch Forum
- Topic: DosBatch 3D Engine.
- Replies: 36
- Views: 35067
Re: DosBatch 3D Engine.
this is the file:
- 26 Apr 2023 17:44
- Forum: DOS Batch Forum
- Topic: DosBatch 3D Engine.
- Replies: 36
- Views: 35067
Re: DosBatch 3D Engine.
New Release 0.03 with rainbow colors and dinamic model. Try it and let me know how fast your processor is. I did my best to optimize the code. I hope it's fast enough even on old pcs. use VT escape sequence avaible in windows 10. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::...
- 26 Apr 2023 16:21
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 52822
Re: 256 colors in virtual terminal escape sequence
While for the cat the result obtained is good, for the image of the clouds instead the result is not good.
Do you have any ideas on how to improve the result?
Do you have any ideas on how to improve the result?
- 26 Apr 2023 15:13
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 52822
Re: 256 colors in virtual terminal escape sequence
Can you explain what you did here? :: set /a "%4.MIN3=-((%22-%11)>>32)*(-((%33-%22)>>32)*%3 - ((%22-%33)>>32)*%2) - ((%11-%22)>>32)*(-((%33-%11)>>32)*%3 - ((%11-%33)>>32)*%1)" :: set /a "%4.MAX3=-((%22-%11)>>32)*(-((%33-%11)>>32)*%1 - ((%11-%33)>>32)*%3) - ((%11-%22)>>32)*(-((%33-%22)>>32)*%2 - ((%2...
- 26 Apr 2023 14:13
- Forum: DOS Batch Forum
- Topic: 256 colors in virtual terminal escape sequence
- Replies: 41
- Views: 52822
Re: 256 colors in virtual terminal escape sequence
I'm studying part 2 and I don't understand the part:
EDIT: Understood. Returns the color value without using a palette variable.
Code: Select all
%4.r2=55+40*%4.r2+((%4.r2-1)>>3)*55, %4.g2=55+40*%4.g2+((%4.g2-1)>>3)*55, %4.b2=55+40*%4.b2+((%4.b2-1)>>3)*55"